macOS
brew install benchlocal Homebrew formula metadata
brew
Command-line benchmark tool. Version 1.0.13 via Homebrew; verified 2026-06-28.
install
brew install benchlocal Homebrew formula metadata
sudo dnf install benchFedora Rawhide package metadata · bench · source: dl.fedoraproject.org
nix profile install nixpkgs#benchnixpkgs package indexes · bench · source: raw.githubusercontent.com
overview
Command-line benchmark tool
history
Bench is Gabriella Gonzalez's command-line benchmarking wrapper around Haskell's Criterion library. It turns the statistical benchmarking machinery used by Haskell developers into a shell command for timing arbitrary programs.
The GitHub repository was created in March 2016, and the README copyright dates the project to 2016. Public GitHub releases began with 1.0.1 in May 2016 and reached 1.0.9 in May 2018.
The README describes the project as a simple utility that wraps Criterion and notes that it is not expected to change much, which matches the small, stable command-line-tool profile.
The README documents installation via Homebrew on macOS, DNF on Fedora or Red Hat-based distributions, Stack, and Nix. That cross-package-manager footprint is the main adoption signal for a small benchmarking utility.
Bench's appeal is strongest for users who want Criterion-style repeated runs, confidence intervals, CSV/JUnit/raw outputs, and HTML reports without writing a Haskell benchmark harness.
Users run commands such as `bench 'sleep 1'`, pass one or more command lines, and optionally emit reports with flags such as `--output`, `--csv`, `--junit`, or `--raw`. Output from the command under test is discarded while timing statistics are collected.
It sits between shell built-ins like `time` and larger benchmarking frameworks: lightweight enough for ad hoc CLI comparisons, but statistically richer than a single wall-clock measurement.
Bench is notable as a package-manager-friendly bridge from the Haskell Criterion ecosystem to everyday shell benchmarking. It is small, stable, and very Unix in spirit: one command that makes a deeper library useful outside its home language.
Its significance is modest but real for developers comparing command-line tools, compiler flags, scripts, and small pipelines from a terminal.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
bench | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/Gabriella439/bench
install metadata
| Package key | brew:bench |
|---|---|
| Version | 1.0.13 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/bench |
| Homepage | https://github.com/Gabriella439/bench |
| Repository | https://github.com/Gabriella439/bench |
| Upstream docs | https://github.com/Gabriella439/bench#readme |
| License | BSD-3-Clause |
| Source archive | https://hackage.haskell.org/package/bench-1.0.13/bench-1.0.13.tar.gz |
| Last updated | 2026-06-28T12:58:43-04:00 |
| Pulse | updated |
| Dependencies | gmp |
| Build dependencies | cabal-install, ghc |
| Uses from macOS | libffi |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | bench |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
bench
nix profile install nixpkgs#benchbench 1.0.13-9.fc44
Command-line benchmark tool
https://hackage.haskell.org/package/bench
sudo dnf install benchsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.