Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howtos:profiling:gperftools [2015/06/19 12:19] – Add notes about profiling with gperftools techeehowtos:profiling:gperftools [2015/06/19 12:23] – Minor formation update techee
Line 26: Line 26:
 In the above graph we can see the skipEverything() function takes 55.2% of total time so it looks like a good candidate for optimization. In the above graph we can see the skipEverything() function takes 55.2% of total time so it looks like a good candidate for optimization.
  
-Note: I keep getting the <nowiki>__nss_hosts_lookup</nowiki> in the plot even though no host lookup is actually being performed. This one can be ignored and is probably caused by the fact that some system function is being called and its symbol name isn't known. It's always sufficient to look at the function that calls this __nss_hosts_lookup which might be the one which needs optimization.+**Note**: I keep getting the <nowiki>__nss_hosts_lookup</nowiki> in the plot even though no host lookup is actually being performed. This one can be ignored and is probably caused by the fact that some system function is being called and its symbol name isn't known. It's always sufficient to look at the function that calls this <nowiki>__nss_hosts_lookup</nowiki> which might be the one which needs optimization.
  
-Note: I wasn't able to get profiles with reasonable level of information from the GTK libraries provided by the system so if there is some GTK-related problem, it's best to compile GTK by yourself.+**Note**: I wasn't able to get profiles with reasonable level of information from the GTK libraries provided by the system so if there is some GTK-related problem, it's best to compile GTK by yourself.
  
 ==== Profiling only part of the process runtime ==== ==== Profiling only part of the process runtime ====
Print/export