# Installer bench avec Homebrew, dnf, Nix

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de bench pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:bench
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install bench
```

  Preuve: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install bench
```

  Preuve: Fedora Rawhide package metadata: bench from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#bench
```

  Preuve: nixpkgs package indexes: bench from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

## Faits du paquet

- **Clé du paquet:** brew:bench
- **Gestionnaire de paquets:** Homebrew
- **Version:** 1.0.13
- **Résumé source:** Command-line benchmark tool
- **Page d'accueil:** <https://github.com/Gabriella439/bench>
- **Dépôt:** <https://github.com/Gabriella439/bench>
- **Dernière mise à jour:** 2026-07-22T02:41:07Z
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- bench (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 1.0.13
## Historique du projet et usages

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.

### Historique du projet

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.

### Historique d'adoption

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.

### Modes d'utilisation

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.

### Pourquoi les passionnés de paquets s'y intéressent

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.

### Chronologie

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

### Sources

- <https://github.com/Gabriella439/bench>
- <https://github.com/Gabriella439/bench/releases>
- source_facts.package-manager
- source_facts.package-manager-url


## Notes de sécurité

narrow executable package without higher-risk signals.

- **Risque Geiger:** vert / faible
- narrow executable package without higher-risk signals

## Autres enregistrements de gestionnaires de paquets

- Nix - bench: normalized package name match | nixpkgs package indexes: bench from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- dnf - bench - 1.0.13-10.fc45: normalized package name match | Fedora Rawhide package metadata: bench from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Command-line benchmark tool | https://hackage.haskell.org/package/bench


## Combined YAML source

View the package source record on GitHub. [combined/bench.yml](https://github.com/mxcl/pkgdb/blob/main/combined/bench.yml)


## Sources

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