Buildprof records every process a build starts and every file it opens, and shows the whole build on an interactive timeline in your browser.
Changes
Added
- Messages are coloured when they go to a terminal: errors red, hints yellow,
and paths, URLs, and commands highlighted.
NO_COLORturns colour off andCLICOLOR_FORCEturns it on for pipes. - The report printed after a recording is set apart from the build's output and is shorter: a headline, the port forward and URL on their own lines over SSH, the browser permission note, and the wait.
Fixed
--compiler-tracesnow collects nightly Rust self-profile data whenever the build runs a nightly compiler, including throughcargo +nightlyor arust-toolchainfile. The nightly check used to look only at the default toolchain at startup, so those recordings had no compiler tracks.
Changed
- The one-request server that hands a trace to the browser is now built on tiny_http instead of hand-written HTTP parsing.
- While the UI waits for a trace from this machine, a dialog explains the browser prompt to access other apps and services on this device. The CLI, README, and error dialogs name the site setting that re-allows it: "Apps on device" in Chrome, "Access this device" in Firefox.
Install
Recording requires Linux. Existing recordings can be viewed on other platforms in the web UI without installing Buildprof. Install on your Linux build machine using whichever method you prefer:
Shell script
:::sh
curl -fsSL https://buildprof.lalitm.com/install.sh | sh
Homebrew
:::sh
brew install lalitmaganti/tap/buildprof
mise
:::sh
mise use -g github:LalitMaganti/buildprof
Downloads
| File | Platform | Checksum |
|---|---|---|
| buildprof-aarch64-apple-darwin.tar.xz (github.com) | Apple Silicon macOS | checksum |
| buildprof-x86_64-apple-darwin.tar.xz (github.com) | Intel macOS | checksum |
| buildprof-aarch64-unknown-linux-gnu.tar.xz (github.com) | ARM64 Linux | checksum |
| buildprof-x86_64-unknown-linux-gnu.tar.xz (github.com) | x64 Linux | checksum |
| buildprof-aarch64-unknown-linux-musl.tar.xz (github.com) | ARM64 MUSL Linux | checksum |
| buildprof-x86_64-unknown-linux-musl.tar.xz (github.com) | x64 MUSL Linux | checksum |