# bench を Homebrew, dnf, Nix でインストール

bench のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install bench
```

  証拠: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install bench
```

  証拠: Fedora Rawhide package metadata: bench from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

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

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

## パッケージ情報

- **パッケージキー:** brew:bench
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/bench>
- **バージョン:** 1.0.13
- **ソース概要:** Command-line benchmark tool
- **ホームページ:** <https://github.com/Gabriella439/bench>
- **リポジトリ:** <https://github.com/Gabriella439/bench>
- **ライセンス:** BSD-3-Clause
- **ソースアーカイブ:** <https://hackage.haskell.org/package/bench-1.0.13/bench-1.0.13.tar.gz>
- **最終更新:** 2026-07-22T02:41:07Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- bench (cli)
- bench (エイリアス)

## 依存関係

- gmp

## ビルド依存関係

- cabal-install
- ghc

## macOS 提供ライブラリ

- libffi

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 1.0.13
- マネージャ更新日: 2026-07-22
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/Gabriella439/bench
- 情報: No cached GitHub release or tag data was available.
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **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:** head, stable

## 他のパッケージマネージャ記録

- 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/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Command-line benchmark tool | https://hackage.haskell.org/package/bench


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/ja/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/ja/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [cabal-install](https://pkg.so/ja/brew/cabal-install/) - Build dependency declared by Homebrew.
- [ghc](https://pkg.so/ja/brew/ghc/) - Build dependency declared by Homebrew.
- [multitime](https://pkg.so/ja/brew/multitime/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools, performance.
- [sqlbench](https://pkg.so/ja/brew/sqlbench/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools, performance.
- [pyperformance](https://pkg.so/ja/brew/pyperformance/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools, performance.
- [siege](https://pkg.so/ja/brew/siege/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools.
- [minio-warp](https://pkg.so/ja/brew/minio-warp/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools.
- [benchi](https://pkg.so/ja/brew/benchi/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools.
- [pipebench](https://pkg.so/ja/brew/pipebench/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools.
- [hyperfine](https://pkg.so/ja/brew/hyperfine/) - Shares pkgdb curated category or tags: benchmarking, cli, developer-tools, performance.
- [shelltestrunner](https://pkg.so/ja/brew/shelltestrunner/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, command-line, developer, developer-tools, gmp.

## Combined YAML source

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


## ソース

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