How to benchmark efficiency of PHP script
If you actually want to benchmark real world code, use tools like Xdebug and XHProf. Xdebug is great for when you’re working in dev/staging, and XHProf is a great tool for production and it’s safe to run it there (as long as you read the instructions). The results of any one single page load aren’t … Read more