Chrome developer tools
Moderator: General Moderators
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Chrome developer tools
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?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: Chrome developer tools
Code: Select all
$start_moment = microtime(true);
// do something that takes a long time
$execution_time = microtime(true) - $start_moment;