Several improvements for performance measuring

This commit is contained in:
Michael Vogel 2013-01-26 18:35:39 +01:00
parent 2c93067682
commit fdee002f73
9 changed files with 87 additions and 36 deletions

View file

@ -283,6 +283,8 @@ function bb_ShareAttributes($match) {
function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
$stamp1 = microtime(true);
$a = get_app();
// Hide all [noparse] contained bbtags by spacefying them
@ -637,6 +639,8 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
call_hooks('bbcode',$Text);
$a->save_timestamp($stamp1, "parser");
return $Text;
}