Repository navigation
Buildprof 0.2.0
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
buildprof.versionandbuildprof.trace_formattrace attributes, visible
in Trace Processor'smetadatatable, so the UI can tell which recorder
wrote a trace.- SSH sessions print the
ssh -Lport forward to run from your own machine
instead of trying to launch a browser on the build host. --wait <SECONDS>bounds how long Buildprof waits for a browser to fetch a
trace (default 600; 0 waits forever).buildprof examplesandbuildprof open --example <NAME>open recordings
hosted next to the UI.- Clear messages when ptrace or seccomp is unavailable (Docker without
SYS_PTRACE, Yamaptrace_scope3, gVisor), when the command cannot be
executed, and when port 9001 is already taken. - Prebuilt binaries on GitHub Releases for x86_64 and aarch64 Linux (glibc
2.28 or newer, plus static musl builds) and for macOS, with a shell
installer, a Homebrew tap,.deband.rpmpackages, and mise support. - Every released UI is deployed permanently under
https://buildprof.lalitm.com/v<version>/; the CLI opens the UI matching
its own version and the UI links to the matching version when a trace was
recorded by a different release.
Changed
- Traces are now written as a single zstd stream, typically 9 to 20 times
smaller than before. The UI detects the compression from the file's magic
bytes and the.buildprofextension is unchanged. Querying a trace directly
needs a Trace Processor build from July 2026 or later; theperfettoPython
package's bundled build is older, so pass
TraceProcessorConfig(fetch_latest_trace_processor=True)for now. - Building from source now requires Rust 1.91.
Install
Recording requires Linux; the macOS build only opens traces. Use whichever of
these you already have:
Shell script
curl -fsSL https://buildprof.lalitm.com/install.sh | shHomebrew
brew install lalitmaganti/tap/buildprofmise
mise use -g github:LalitMaganti/buildprofDownloads
| File | Platform | Checksum |
|---|---|---|
| buildprof-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| buildprof-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| buildprof-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| buildprof-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| buildprof-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| buildprof-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |