Skip to content

Comment on Hotspot: Linux `perf` GUI for performance analysis

Comments

Fun fact: firefox also supports loading 'perf' reports: https://profiler.firefox.com/

useful for small profiles, but it blows up on larger ones. hotspot handles multi-gigabytes recordings fine on the same hardware.

I still think we should find a way to integrate the two somehow - i.e. analyze locally and then send the pre-analyzed data for visualization purposes to the remote firefox profiler. Does anyone know a good format we could use for that purpose? It needs to be non-verbose to not hit the infamous 2GB/4GB JSON heap size limitation on import e.g. Similarly, we also need something that can deal with the various cost types we support in hotspot, most notably off-CPU time.

samply [0] does something to send data to Firefox Profiler that I've had better results with compared to the regular import.

[0]: https://github.com/mstange/samply

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.