سؤال

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

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top