Introducing Profiler

This commit is contained in:
Philipp Holzer
2019-02-16 23:11:30 +01:00
parent 12ff467a9b
commit 5e6e1a8025
24 changed files with 370 additions and 262 deletions

View File

@@ -74,7 +74,7 @@ class Renderer extends BaseObject
exit();
}
$a->saveTimestamp($stamp1, "rendering");
$a->getProfiler()->saveTimestamp($stamp1, "rendering");
return $output;
}
@@ -101,7 +101,7 @@ class Renderer extends BaseObject
exit();
}
$a->saveTimestamp($stamp1, "file");
$a->getProfiler()->saveTimestamp($stamp1, "file");
return $template;
}