On Wed, December 19, 2007 10:21 pm, php mail wrote: > Is there any tool to profiling PHP app ? Compile PHP --with-debug and then use: valgrind --tool=callgrind php -q yourscript.php You get a nifty fabulous listing of where X% of your time is being spent and a really cool diagram of your function calls. Rasmus routinely shows this off in his talks regarding PHP performance. It can be a pain to find/install valgrind/callgrind, but it's well worth it! There are GUI tools to examine the data, such as KCachegrind. I cannot recommend these tools enough! -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php