Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ Profiling on mac

I'm writing STL-only C++ application on mac(OS X Lion / XCode 4.1). I need to answer a simple question: which parts of code must be optimized? Gprof does empty output, XCode's Instruments doesn't help. Which tool I need to use?

like image 274
sashab Avatar asked Aug 07 '11 19:08

sashab


1 Answers

Use Shark. It's in /Developer/Applications/Performance Tools

Very easy to use. More here: http://developer.apple.com/tools/sharkoptimize.html

like image 142
koan Avatar answered Sep 23 '22 09:09

koan