From 64d30a2bacc59f8a2c38c4998071e7bf9c942c2e Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Fri, 23 Dec 2011 22:04:24 +0100 Subject: Print out some performance information. Queries fired and execution time. --- ratatoeskr/main.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'ratatoeskr/main.php') diff --git a/ratatoeskr/main.php b/ratatoeskr/main.php index 2a31177..9d963ac 100644 --- a/ratatoeskr/main.php +++ b/ratatoeskr/main.php @@ -23,6 +23,10 @@ $plugin_objs = array(); function ratatoeskr() { global $backend_subactions, $ste, $url_handlers, $ratatoeskr_settings, $plugin_objs; + global $queries_fired; + + $ts_start = microtime(True); + session_start(); if(!CONFIG_FILLED_OUT) return setup(); @@ -67,6 +71,11 @@ function ratatoeskr() $ste->vars["rel_path_to_root"] = $rel_path_to_root; url_process($urlpath, $url_handlers, $data); + echo ""; } ?> -- cgit v1.2.3-70-g09d2