Web Content: Calculating Script Execution TimesTag: web content, execution times Category: PHP Basicpost: 28 Apr 2008 read: 137 Web Content Tips - Part 4: If we put attention at google search, we will see that google display execution time of searching and displaying what we search. We can do it with PHP's microtime() function to know how long the script takes:
PHP's microtime() return current UNIX timestamp in microseconds. We compare start and end. The difference between the two is the time taken for script execution. |
| | Give Your Opinion | Recommend |
|

