macOS
brew install sqlbenchlocal Homebrew formula metadata
安装
brew install sqlbenchlocal Homebrew formula metadata
概览
Measures and compares the execution time of one or more SQL queries
历史
sqlbench is a Go command-line tool for measuring and comparing the execution time of SQL queries. Its README describes the main use case as benchmarking simple CPU-bound PostgreSQL query variants during local development.
The repository was created in September 2020 and published an initial v1.0.0 release shortly afterward. A v1.1.0 release later that month added CI-built release binaries and baseline CSV comparison support.
sqlbench was distributed through GitHub releases, source installation with Go, Chocolatey for Windows, and Homebrew for macOS users. The README explicitly documents Homebrew installation, which made it a familiar one-command install for package-manager-oriented PostgreSQL users.
Users pass one or more `.sql` files to sqlbench, optionally set a PostgreSQL connection URL with `-c`, and choose iteration, duration, output CSV, baseline CSV, silent, verbose, and measurement-mode flags. By default it measures with `EXPLAIN (ANALYZE, TIMING OFF)`, while `-m client` measures client wall-clock time.
Package nerds care about sqlbench because it is a focused benchmarking executable that turns query comparisons into reproducible terminal output and CSV artifacts. It also captures the practical packaging taste of small Go tools: install from releases, Go source, Chocolatey, or Brew, then wire into local performance experiments.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
sqlbench | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/felixge/sqlbench
安装元数据
| 软件包键 | brew:sqlbench |
|---|---|
| 版本 | 1.1.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/sqlbench |
| 主页 | https://github.com/felixge/sqlbench |
| 仓库 | https://github.com/felixge/sqlbench |
| 上游文档 | https://github.com/felixge/sqlbench#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/felixge/sqlbench/archive/refs/tags/v1.1.0.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | sqlbench |
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.