Page 1 of 1

Chrome developer tools

Posted: Fri Feb 11, 2011 4:55 pm
by social_experiment
The Developer Tools in Chrome gives the time and size of my script. If i wanted to test how much time it took 1000 rows to be displayed, will the results from these tools be worth anything? Are there other types of software that can do this, measuring script execution time, etc?

Re: Chrome developer tools

Posted: Thu Aug 11, 2011 2:51 pm
by Jonah Bron

Code: Select all

$start_moment = microtime(true);
// do something that takes a long time
$execution_time = microtime(true) - $start_moment;
Does this good enough? :)