Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Tool it Up! - Session #4 - KCachegrind

346 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Tool it Up! - Session #4 - KCachegrind

  1. 1. By: Jonathan Daigle KCachegrind
  2. 2. Q: What is KCachegrind? A Viewer Browser for profiler files. AKA (CacheCallVal)grind files. http://wiki.gammae.com/Platform/kcachegrind
  3. 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. 4. Q: How can I get Cachegrind file? • Xdebug • Web3tracer • Valgrind • ... http://wiki.gammae.com/Platform/kcachegrind
  5. 5. Xdebug Pros : • Already installed • Source Code View • Aggregate Profiling Cons : • Very HEAVY • No Memory profiling http://wiki.gammae.com/Platform/kcachegrind
  6. 6. Web3tracer Pros : • Lightweight • Execution Time + Memory profiling • Lies Less Cons : • Must Be Compiled • Requires Code modification http://wiki.gammae.com/Platform/kcachegrind
  7. 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
  8. 8. Pitfal http://wiki.gammae.com/Platform/kcachegrind

×