PHP parser for cachegrind files?

Is there such a thing?

I am in windows and using the WinCacheGrind application and does not seem to work with large files (~ 2 MB). I get errors such as "cannot find the target of the call."

Do you know any parser for such files written in PHP that can help me create my own cachegrind analyzer?

+8
windows php xdebug kcachegrind
source share
3 answers

I'm not sure if this is possible in PHP, but you can try http://sourceforge.net/projects/precompiledbin/ , if you just want to read cachegrind files, KCacheGrind works on linux, but someone ported it to run on windows

Help: Windows Callgrind Result Browser, an alternative to KCacheGrind

+6
source share

For a while I use webGrind.

http://code.google.com/p/webgrind/

This is fantastic for debugging a server where you do not have easy / quick access to files, since it is all read / interpreted remotely and then viewed on the Internet.

The independence of the platform was excellent for me, as I develop on 3 computers and a laptop. While I can browse the webpage where I work, I can debug my output. There is no need to install the same application on 4 separate computers and eliminates the need to constantly transfer giant debug files between the specified computers.

Currently, I see this as a web application as needed, like something like phpMyAdmin.

I really hope this helps someone else try to solve a similar use case.

EDIT: if you want to see it in action, WAMP comes with it (mostly) pre-configured. [Http://wamp.sourceforge.net/]

+5
source share

In my experience, QCacheGrind (the Windows version of KCacheGrind) is much faster than WebGrind and very stable: http://sourceforge.net/projects/qcachegrindwin/

+4
source share

All Articles