aboutsummaryrefslogtreecommitdiff
path: root/engine/start.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-17 08:44:06 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-17 08:44:06 +0000
commit0247349e8208972608f5f693ed47b7f2457b8c60 (patch)
treedfaf8f0f53982c1691c0d0e3129931dffc386658 /engine/start.php
parent5d1eaa1f741e817e48f1b2e2fc22d40ad04b8e16 (diff)
downloadelgg-0247349e8208972608f5f693ed47b7f2457b8c60.tar.gz
elgg-0247349e8208972608f5f693ed47b7f2457b8c60.tar.bz2
Added some very basic page load profiling.
git-svn-id: https://code.elgg.org/elgg/trunk@2776 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/start.php')
-rw-r--r--engine/start.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/engine/start.php b/engine/start.php
index e967d292e..a80cf982f 100644
--- a/engine/start.php
+++ b/engine/start.php
@@ -12,7 +12,11 @@
* @link http://elgg.org/
*/
-
+ /*
+ * Basic profiling
+ */
+ global $START_MICROTIME;
+ $START_MICROTIME = microtime(true);
/**
* Load important prerequisites