Hacker News new | ask | show | jobs
by gue-ni 391 days ago
Fun fact: firefox also supports loading 'perf' reports: https://profiler.firefox.com/
1 comments

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