diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2012-03-02 12:24:35 +0100 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2012-03-02 12:24:35 +0100 |
commit | 60e5dda1b5e1be36a15c45ded2635340087a0b0f (patch) | |
tree | 16f68846156adcb90d9d4435e1e1b0aa3fa20922 /include/text.php | |
parent | f1bf6dcdfb89bf3c21e498ba3d76c600dafed934 (diff) | |
download | volse-hubzilla-60e5dda1b5e1be36a15c45ded2635340087a0b0f.tar.gz volse-hubzilla-60e5dda1b5e1be36a15c45ded2635340087a0b0f.tar.bz2 volse-hubzilla-60e5dda1b5e1be36a15c45ded2635340087a0b0f.zip |
template proc: first optimization
Diffstat (limited to 'include/text.php')
-rwxr-xr-x | include/text.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index 4276b7fcb..042ee982c 100755 --- a/include/text.php +++ b/include/text.php @@ -14,7 +14,13 @@ if(! function_exists('replace_macros')) { function replace_macros($s,$r) { global $t; - return $t->replace($s,$r); + //$ts = microtime(); + $r = $t->replace($s,$r); + //$tt = microtime() - $ts; + + //$a = get_app(); + //$a->page['debug'] .= "$tt <br>\n"; + return $r; }} |