macOS
brew install sqlbenchlocal Homebrew formula metadata
brew
Measures and compares the execution time of one or more SQL queries. Version 1.1.0 via Homebrew; verified from local package data.
install
brew install sqlbenchlocal Homebrew formula metadata
overview
Measures and compares the execution time of one or more SQL queries
history
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.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
sqlbench | cli | global executable |
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.
https://github.com/felixge/sqlbench
install metadata
| Package key | brew:sqlbench |
|---|---|
| Version | 1.1.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/sqlbench |
| Homepage | https://github.com/felixge/sqlbench |
| Repository | https://github.com/felixge/sqlbench |
| Upstream docs | https://github.com/felixge/sqlbench#readme |
| License | MIT |
| Source archive | https://github.com/felixge/sqlbench/archive/refs/tags/v1.1.0.tar.gz |
| Build dependencies | go |
| Bottle | available (on 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 | not defined |
| Service | none declared |
registry facts
| 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 |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.