Skip to content

zbench v0.1.0

Latest

Choose a tag to compare

@yxanul yxanul released this 29 May 21:34

First public release of zbench — compare the performance of one or more commands using Linux hardware performance counters (`perf_event_open`), wall-clock time, and peak RSS, with a two-sample t-test for significance.

zbench

Highlights

  • Hardware counters: cpu cycles, instructions, cache references/misses, branch misses (user-space only).
  • Wall-clock time and peak RSS via `wait4`.
  • Duration- or exact-run sampling with optional warmup, outlier detection (Tukey's fences).
  • Multi-command comparison against a reference, flagging significant regressions/improvements.

Linux-only.

Install

```sh
cargo install zbench
```