From 0247349e8208972608f5f693ed47b7f2457b8c60 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 17 Feb 2009 08:44:06 +0000 Subject: Added some very basic page load profiling. git-svn-id: https://code.elgg.org/elgg/trunk@2776 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/start.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engine/start.php') 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 -- cgit v1.2.3