▲ | Hotspot: Linux `perf` GUI for performance analysis(github.com) | |||||||||||||||||||||||||
108 points by jez 4 days ago | 17 comments | ||||||||||||||||||||||||||
▲ | gue-ni 2 days ago | parent | next [-] | |||||||||||||||||||||||||
Fun fact: firefox also supports loading 'perf' reports: https://profiler.firefox.com/ | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | ognarb 2 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
From the same author, Heaptrack to investigate memory usage is also very helpful: https://invent.kde.org/sdk/heaptrack/ | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | directmusic a day ago | parent | prev | next [-] | |||||||||||||||||||||||||
I primarily do macOS development work and use Instruments for profiling, but have been working on Linux a lot lately and Hotspot has been pulled out a lot over the last few weeks. Highly recommended. | ||||||||||||||||||||||||||
▲ | fransje26 2 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
Great tool that has been really helpful in helping me find unexpected bottlenecks in the codebases I've been working on. It's easy to use, and pairs beautifully with the unintrusive perf tool, which makes the combination a joy to use. And, if combined with a codebase opened in QtCreator, you can click on a hotspot in the flamegraph, and it will bring you automagically to the correct file and line in QtCreator, without any explicit linking required between the two programs. I discovered that feature accidentally, and the fact that it just worked seamlessly really impressed me. (Tested on a Debian-based Linux). A big thanks to KDAB for making this tool available to us! | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
▲ | wizzledonker a day ago | parent | prev | next [-] | |||||||||||||||||||||||||
This is a fantastic tool and I recommend it! I use it every day to recursively solve bottlenecks in our code base. | ||||||||||||||||||||||||||
▲ | dustbunny a day ago | parent | prev | next [-] | |||||||||||||||||||||||||
I couldn't figure out how to use hotspot. I used speedscope instead: https://www.speedscope.app/ Maybe I should check out hotspot again. | ||||||||||||||||||||||||||
▲ | drewg123 a day ago | parent | prev | next [-] | |||||||||||||||||||||||||
I'm on FreeBSD, so its a lot of overhead to check myself: But, does this have a source view like Vtune, that can attribute cycles / cache misses / etc, to a line of code? I see it has an assembly view.. | ||||||||||||||||||||||||||
▲ | pjmlp 2 days ago | parent | prev | next [-] | |||||||||||||||||||||||||
Nice tool, thanks for the heads up. | ||||||||||||||||||||||||||
▲ | grandinj a day ago | parent | prev [-] | |||||||||||||||||||||||||
Wonderful tool. Has been incredibly useful in optimising LibreOffice. |