DEV Community

Discussion on: How do you profile your PHP applications?

Collapse
 
nlxdodge profile image
NLxDoDge

I know that in our websites we benchmark queries made to the database instead of the PHP performance.

Another thing is a microtime(true) in the beginning and end of your script, and comparing the time, then change some code to see if it produces a slowdown.

But it really depends on what you're doing with your application. It this for a website, crawler, etc?