2. Q: What is KCachegrind?
A Viewer Browser for profiler files. AKA
(CacheCallVal)grind files.
http://wiki.gammae.com/Platform/kcachegrind
3. Q: How can I get KCachegrind?
• sudo apt-get install kcachegrind (ubuntu)
• brew install qcachegrind (OS X)
• QCachegrind compiled for windows (windows)
http://wiki.gammae.com/Platform/kcachegrind
4. Q: How can I get Cachegrind file?
• Xdebug
• Web3tracer
• Valgrind
• ...
http://wiki.gammae.com/Platform/kcachegrind
5. Xdebug
Pros :
• Already installed
• Source Code View
• Aggregate Profiling
Cons :
• Very HEAVY
• No Memory profiling
http://wiki.gammae.com/Platform/kcachegrind
6. Web3tracer
Pros :
• Lightweight
• Execution Time + Memory profiling
• Lies Less
Cons :
• Must Be Compiled
• Requires Code modification
http://wiki.gammae.com/Platform/kcachegrind
7. Valgring
Pros :
• Can profile almost anything
• Can provide a higher point of view
Cons :
• Indirect profiling (assuming php)
• Harder to Use
• Heavy
http://wiki.gammae.com/Platform/kcachegrind