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?
pDepend does scan and analysis on every line of every file of supplied paths. And it does get very slow in bigger code base. Since it runs on command line process, APC cache won't help either. One approach would be divide your code into modules with separate pDepend reports but if you use common library in all modules, reports would not be very accurate.
Latest pDepend has some performance improvements if you are using older one. http://pdepend.org/news/pdepend-1.0.0-released.html
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.