diff options
author | Kevin Chabowski <kevin@kch42.de> | 2011-12-27 22:19:57 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2011-12-27 22:19:57 +0100 |
commit | a1e034a621780fee9398663e1966b18127dfe9fd (patch) | |
tree | a476ce733e39fd4b0026b12b926661fd343641d1 /ratatoeskr/main.php | |
parent | edad8581bb6ec2cb0e198f1cc5e415ce526147b7 (diff) | |
download | ratatoeskr-cms-a1e034a621780fee9398663e1966b18127dfe9fd.tar.gz ratatoeskr-cms-a1e034a621780fee9398663e1966b18127dfe9fd.tar.bz2 ratatoeskr-cms-a1e034a621780fee9398663e1966b18127dfe9fd.zip |
Finished optimizing for now. Removed debug tools and new API.
The API version was increased because during this optimization the db
models became incompatible to the old ones.
Diffstat (limited to 'ratatoeskr/main.php')
-rw-r--r-- | ratatoeskr/main.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ratatoeskr/main.php b/ratatoeskr/main.php index aa36201..df1672c 100644 --- a/ratatoeskr/main.php +++ b/ratatoeskr/main.php @@ -23,7 +23,6 @@ $plugin_objs = array(); function ratatoeskr() { global $backend_subactions, $ste, $url_handlers, $ratatoeskr_settings, $plugin_objs; - global $queries_fired; $ts_start = microtime(True); @@ -75,12 +74,6 @@ function ratatoeskr() foreach($plugin_objs as $plugin_obj) $plugin_obj->atexit(); $ratatoeskr_settings->save(); - - echo "<!-- -Queries: $queries_fired -Time: " . (microtime(True) - $ts_start) . " -Peak Memory: " . memory_get_peak_usage() / 1024 . "kiB --->"; } ?> |