Skip to content
Hacker News front page

I made a build visualizer to understand Bun's compile times

Lalit Maganti open-sourced buildprof, a Linux build tracing tool that records every process start and end time and lays them on a timeline. He used it to reproduce Bun's compile-time drop from 24m24s (Zig) to 5m40s (Rust) and found the key difference was Full LTO vs ThinLTO. Works with Cargo, Make, Ninja, and any build system that spawns processes.

Read the original ↗Export Markdown