• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

how do you benchmark php script?

niekas

New Member
i need to benchmark php script - how do you measure execution time of the script at any point of the script and find bottlenecks etc?
 
For the execution time, you may just mark the timestamp at the beginning of the script and then at the end. Finally, just compare the two variables.

Hope it helps!
 
Back
Top