I made a build visualizer to understand Bun's compile times
lalitmaganti
111 points
21 comments
September 12, 2026
Related Discussions
Found 5 related stories in 182.3ms across 6,361 title embeddings via pgvector HNSW
- Bun 1.4 meetpateltech · 239 pts · August 20, 2026 · 50% similar
- LLM Visualizer – Build a Transformer from Scratch evo_9 · 11 pts · September 11, 2026 · 49% similar
- Zig's Incremental Compilation Internals garyhtou · 218 pts · July 28, 2026 · 49% similar
- JIT Compiling Code in 5μs zX41ZdbW · 123 pts · August 23, 2026 · 49% similar
- Buz – A fork of Bun using modern Zig, with sub-1s incremental builds kristoff_it · 250 pts · July 24, 2026 · 49% similar
Discussion Highlights (5 comments)
anaqin
Good write up! I was hoping it was going to conclude with the author getting buns zig build way faster than Rusts but a good deep dive nevertheless
flimflamm
It would be interesting to see what would be good input for LLMs to do the optimizations / trials on that automatically. Is the visual representation best or something else?
t43562
It's like Electric Insight, which was a fantastic if proprietary tool. There's an enormous amount of analysis you can do with tools like this from estimating how much faster the build would be with more cores (i.e. is it worth adding more) to things like a diff of one build against another: why is one build bad and the other good - what tasks had different parameters or weren't in both builds?
applfanboysbgon
Excellent write-up, love to see profiling work on compile times. I have some rudimentary tooling I threw together myself but nothing that looks as comprehensive and insightfully presented as this, I'll be giving it a try!
xcc3641
Full LTO on the WebKit link is the serial part. Does your visualizer split link time from codegen?