pkg.soopen package index

brew / 排名 6932

使用 Homebrew, dnf, Nix 安装 bench

查看 bench 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install bench

local Homebrew formula metadata

概览

软件包摘要

Command-line benchmark tool

命令和别名

  • bench

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
bench可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.0.13
管理器更新时间2026-07-22
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:bench
版本1.0.13
软件包管理器Homebrew
主页https://github.com/Gabriella439/bench
仓库https://github.com/Gabriella439/bench
最后更新2026-07-22T02:41:07Z
Pulseupdated
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

bench

nix profile install nixpkgs#bench
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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