Permalink
Browse files

Adding a constant for TIME_START as $_SERVER[REQUEST_TIME] is only

accurate to the second.  Profilers and timers need ms resolution
to be accurate.
  • Loading branch information...
1 parent 34d3d6f commit 8503ffd39b3169c79ea396161bdd737a650dcc61 @markstory markstory committed with markstory Aug 21, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/Cake/bootstrap.php
View
@@ -18,6 +18,8 @@
* @since CakePHP(tm) v 0.2.9
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
+define('TIME_START', microtime(true));
+
if (!defined('E_DEPRECATED')) {
define('E_DEPRECATED', 8192);
}

0 comments on commit 8503ffd

Please sign in to comment.