Get the latest tech news
Phptop: Simple PHP ressource profiler, safe and useful for production sites
PHP basic ressource profiler (CPU/memory), safe and useful for production sites - bearstech/phptop
phptop prints per query and average metrics comparable to 'time' (wallclock, user and system CPU time) along with memory and other ressource usages. It can be easily globally activated on a LAMP server and requires little ressources and a single line configuration change in your php.ini. See the man page for operation details and all options.
Or read this on Hacker News