News for hackers. Stuff that matters.
Re:Optimizing a Math Expression Parser in Rust by IshKebab on Thursday July 10, 2025 @02:05PM (#44523801)
Ah really? Their example here doesn't do that: https://github.com/jonhoo/inferno/blob/main/tests/data/flame...

But even so, pprof's is better. (You'll have to try it or take my word for it; they don't seem to have a demo anywhere unfortunately.)

When you hover a function it highlights all the other calls to that function (in different stacks), and if you click it it shows all the calls to and from that function in all stacks with two-sided flame graph.

Re:Optimizing a Math Expression Parser in Rust by porphyra on Thursday July 10, 2025 @02:16PM (#44523916)
The one at https://github.com/flamegraph-rs/flamegraph/blob/main/exampl... supports both zooming and search.
Re:Optimizing a Math Expression Parser in Rust by IshKebab on Thursday July 10, 2025 @05:41PM (#44525931)
Ah I see. Yeah pprof is significantly superior.