Automic VaultAutomic Vault

brew

Install bench with Homebrew, dnf, Nix

Command-line benchmark tool. Version 1.0.13 via Homebrew; verified 2026-06-28.

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 post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 2 build dependencies.

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
benchcliglobal executable

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-07-08
manager version1.0.13
manager updated2026-06-28
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/Gabriella439/bench

install metadata

Package metadata

Package keybrew:bench
Version1.0.13
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/bench
Homepagehttps://github.com/Gabriella439/bench
Repositoryhttps://github.com/Gabriella439/bench
Upstream docshttps://github.com/Gabriella439/bench#readme
LicenseBSD-3-Clause
Source archivehttps://hackage.haskell.org/package/bench-1.0.13/bench-1.0.13.tar.gz
Last updated2026-06-28T12:58:43-04:00
Pulseupdated
Dependenciesgmp
Build dependenciescabal-install, ghc
Uses from macOSlibffi
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebench
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

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-9.fc44

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
  • 7 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/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-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
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment