andrewrk/poop
소개
성능 최적화 관찰 플랫폼
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- +1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalPerformance Optimizer Observation Platform
Stop flushing your performance down the drain.
Overview
This command line tool uses Linux's perf_event_open functionality to compare the performance of multiple commands
with a colorful terminal user interface.
Usage
Usage: poop [options] <command1> ... <commandN>
Compares the performance of the provided commands.
Options:
--duration <ms> (default: 5000) how long to repeatedly sample each command
Building from Source
Tested with Zig 0.15.1.
zig build
Comparison with Hyperfine
Poop (so far) is brand new, whereas Hyperfine is a mature project with more configuration options and generally more polish.
However, poop does report peak memory usage as well as 5 other hardware counters, which I personally find useful when doing performance testing. Hey, maybe it will inspire the Hyperfine maintainers to add the extra data points!
Poop does not support running the commands in a shell. This has the upside of not including shell spawning noise in the data points collected, and the downside of not supporting strings inside the commands. Hyperfine by default runs the commands in a shell, with command line options to disable this.
Poop treats the first command as a reference and the subsequent ones relative to it, giving the user the choice of the meaning of the coloring of the deltas. Hyperfine by default prints the wall-clock-fastest command first, with a command line option to select a different reference command explicitly.
While Hyperfine is cross-platform, Poop is Linux-only.
관련 프로젝트 살펴보기
불러오는 중…