Question

How to use perf to examine which parts of code run slowly? I came about these Links but still I could not understand the data generated which is something like this!So how do i understand the reports of perf and data generated by perf annotate?picture

Était-ce utile?

La solution

This Tutorial may help. As osgf said, you want to look for the "hottest" functions and instructions, that are where your program spent most of the time. Then think on how you can improve those areas. Make sure you have debug symbols so perf report gives you a more understandable output.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top