Run it now, nothing to install
One command for Linux (x86_64, arm64) and Apple Silicon Macs. No sudo, no compiler needed, and nothing stays behind unless you keep it.
curl -fsSL https://benchpress.matx.dev/run | shTo skip the menu and start the quick suite right away:
curl -fsSL https://benchpress.matx.dev/run | sh -s -- run quickWhat the script does
- Detects your OS and CPU with
unameand picks the matching release binary. Intel Macs and Windows are not supported yet. - Downloads the binary and its
.sha256file from the latest GitHub release into a temporary directory, and aborts if the checksum does not match. - Starts the menu in your terminal. Every action returns to it, and Ctrl+C cancels a running benchmark.
- Deletes the binary when you quit. Before that, benchpress offers to remove the toolchains and sources it downloaded.
- Runs everything inside a function called on its last line, so a partially downloaded script never runs.
https://benchpress.matx.dev/run redirects to the script in the GitHub repository. Read it first if you like.
Where data goes
- Toolchains, sources and crates
- Linux
~/.cache/benchpress - macOS
~/Library/Caches/benchpress - Build directories, removed after each run
- Linux
/var/tmp/benchpress-<uid> - macOS
$TMPDIR/benchpress - Results and unpublish tokens
- Linux
~/.local/share/benchpress - macOS
~/Library/Application Support/benchpress
Manage local data in the menu shows the size of each and removes them. You can also delete the folders yourself. Your own ~/.rustup and ~/.cargo are never touched.