Windows Callgrind results browser, alternative to

2019-01-16 08:35发布

问题:

Is there any tool, other than KCacheGrind, being able to view callgrind results? Preferably for Windows platform?

回答1:

alleyoop and valkyrie are alternative front ends.

May have enough suport for what you want, you can use mingw to compile for Windows native if SUA does not work out of the box.



回答2:

I have compiled kcachegrind on windows using QT4.7, here is the binary bundle (including the dot utility to generate call graph): http://sourceforge.net/projects/precompiledbin/files/kcachegrind.zip/download



回答3:

Try WebGrind: https://github.com/jokkedk/webgrind

Runs on your local PHP server. Be careful, use XDebug profiling with the XDEBUG_PROFILE flag or otherwise you'll risk overwriting your profiling output when you open WebGrind (Since WebGrind is also a PHP web application). The WebGrind website also details other approaches to work around this. Cheers.



回答4:

You can try WinCacheGrind.



回答5:

It seems that WinCacheGrind cannot open output of callgrind. I have not tried opening output of cachegrind, but it should work, I guess. From the Valkyrie page, (as of date) "Currently, Valkyrie supports Memcheck only, although work is in progress to handle Cachegrind and Massif."



回答6:

There's a new project called XCallGraph for viewing cachegrind files on Windows.



回答7:

I have tried these:

  • QCacheGrind
  • KCachegrind
  • WinCacheGrind
  • XCallGraph

They're very similar but differ in details. I can recommend the QCacheGrind which is the most feature packed and has also a graphical representation, which can help to identify problems much faster.