Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to speed up PHP Depend

Tags:

php

profiling

I'm running PHP Depend on our code base to profile the PHP. It's a large code base, and I have been disappointed by how long it is taking to iterate through all of the files: days.

It's an internal server, but pdepend has sucked up all of the available memory and is constantly swapping. Is there a config setting I can set to get PHP Depend to dump data out of memory? Are there any suggestions on getting this to speed up?

like image 977
Aaron Avatar asked Mar 29 '11 20:03

Aaron


1 Answers

Might I suggest a profiling tool: XHProf & XHGui. The former is a profiler you can run in production, the latter is a GUI you can use to visualize the information you've received. Since PHP Depend seems to be written in PHP it would be pretty effective at determining what the code is up to.

like image 105
preinheimer Avatar answered Oct 13 '22 22:10

preinheimer