General developer forum

How can I measure the speed of Php code?

 
Picture of Hemendra Singh
How can I measure the speed of Php code?
 

Please let me know about  that How can I measure the speed code written in Php.?

 
Average of ratings: -
Davo
Re: How can I measure the speed of Php code?
Core developersParticularly helpful MoodlersPlugin developers

Depends what you are trying to do.

Is this a Moodle specific question? If so, Moodle has built-in support for profiling with xdebug or xhprof ( https://docs.moodle.org/dev/Profiling_PHP ).

If its a more general question about PHP, then I suggest searching for 'php profiling' in your favourite search engine and then reading through some of the results found.

 
Average of ratings: -