pkg.soopen package index

brew / rank 6932

Install bench with Homebrew, dnf, Nix

Command-line benchmark tool. Version 1.0.13 via Homebrew; verified 2026-07-22. Also installable with nix: nix profile install nixpkgs#bench.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install bench

local Homebrew formula metadata

overview

Package summary

Command-line benchmark tool

Commands and aliases

  • bench

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2016: Repository created and 1.0.1 released.
  • 2016: 1.0.2 released.
  • 2017: 1.0.8 released.
  • 2018: 1.0.9 released.
  • 2020s: Packaged by Homebrew, DNF, and Nix according to supplied package facts and README installation notes.

Related projects

  • Criterion is the Haskell benchmarking library used underneath Bench.
  • Stack and Nix are documented installation routes.
  • Homebrew and DNF package the command for non-Haskell-specific installation.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
benchexecutableindexed executableDiscovered from the local executable index.

freshness

Version and 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.

page generated2026-08-03
manager version1.0.13
manager updated2026-07-22
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:bench
Version1.0.13
Package managerHomebrew
Homepagehttps://github.com/Gabriella439/bench
Repositoryhttps://github.com/Gabriella439/bench
Last updated2026-07-22T02:41:07Z
Pulseupdated
Bottlenot recorded
Servicenone declared

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

bench

nix profile install nixpkgs#bench
  • normalized package name match
  • Matched by: Bench
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: bench from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
dnf95%

bench 1.0.13-10.fc45

Command-line benchmark tool

https://hackage.haskell.org/package/bench

sudo dnf install bench
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: bench
  • 8 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Bench
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: bench from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation