Sunday, May 8, 2016

How to check query run time using KCacheGrind

Tags



Ever wonder how to check query run time using KCacheGrind? It's easy!

First, locate cachegrind.out in C:\xampp\tmp (Location may vary depends on where you store your cachegrind)

Next, open qcachegrind.exe. You can go to this link and download it. KCacheGrind  

It should look something like this.



After open it, go to Open Callgrind Data (Set as all files ) 



If you see something like below, you are good to go! :)



If you wonder on how to generate cachegrind.out, this link will definitely help you!
Generate cachegrind.out using xdebug


EmoticonEmoticon