Skip to content

Buildprof 0.2.5

Choose a tag to compare

@github-actions github-actions released this 11 Sep 15:43

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_COLOR turns colour off and
    CLICOLOR_FORCE turns 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-traces now collects nightly Rust self-profile data whenever
    the build runs a nightly compiler, including through cargo +nightly or a
    rust-toolchain file. 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

curl -fsSL https://buildprof.lalitm.com/install.sh | sh

Homebrew

brew install lalitmaganti/tap/buildprof

mise

mise use -g github:LalitMaganti/buildprof

Downloads

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