I made a real-time C/C++/Rust build visualizer
danielchasehooper.com
I made a real-time C/C++/Rust build visualizer
1–10 of 91 posts
Re: I made a real-time C/C++/Rust build visualizer
#2I did a lot of work to improve the Mozilla build system a decade ago where I would have loved this tool. Wish they would have said what problem they found.
Re: I made a real-time C/C++/Rust build visualizer
#3Or (for cmake or ninja) use a CSV that says how long each object takes to build and use it to estimate how much is left ?
Re: I made a real-time C/C++/Rust build visualizer
#4That's really cool. Fascinating to think about all the problems that get missed due to poor or missing visualizations like this. I did a lot of work to improve the Mozilla build system a decade ago where I would have loved this tool. Wish they would have said what problem they found.
My call with the Mozilla engineer was cut short, so we didn't have time to go into detail about what he found, I want to look into it myself.
Re: I made a real-time C/C++/Rust build visualizer
#5Re: I made a real-time C/C++/Rust build visualizer
#6Is there a tool that records the timestamp of each executed command during a build, and when you rebuild, it tells you how much time is left instead of "building obj 35 out of 1023" ? Or (for cmake or ninja) use a CSV that says how long each object takes to build and use it to estimate how much is left ?
Re: I made a real-time C/C++/Rust build visualizer
#7Re: I made a real-time C/C++/Rust build visualizer
#8What limits your tool to compiler/build tools, can it be used for any arbitrary process?
Re: I made a real-time C/C++/Rust build visualizer
#9Amazing! Great job! What limits your tool to compiler/build tools, can it be used for any arbitrary process?
Re: I made a real-time C/C++/Rust build visualizer
#10I am stuck in an environment with CMake, GCC and Unix Make (no clang, no ninja) and getting detailed information about WHY the build is taking so long is nearly impossible.
It's also a bit of a messy build with steps like copying a bunch of files from the source into the build folder. Multiple languages (C, C++, Fortran, Python), custom cmake steps, etc.
If this tool can handle that kind of mess, I'll be very interested to see what I can learn.