track PHP execution time
parent
bb38c8c5cd
commit
f09e50ba27
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
$timer_start = microtime(true); // Start counter for PHP execution time tracking
|
||||||
|
|
||||||
$codemod = 2138367; // modificator with which the confirmation ID will be obfuscated
|
$codemod = 2138367; // modificator with which the confirmation ID will be obfuscated
|
||||||
$output = "";
|
$output = "";
|
||||||
|
@ -249,6 +250,11 @@ function show_page($output, $exit) {
|
||||||
$page = replace_page($page, ':BODY2:', $notice);
|
$page = replace_page($page, ':BODY2:', $notice);
|
||||||
echo $page;
|
echo $page;
|
||||||
unset($data);
|
unset($data);
|
||||||
|
|
||||||
|
// PHP execution time tracking
|
||||||
|
global $timer_start;
|
||||||
|
echo "<!-- PHP execution time: " . (microtime(true) - $timer_start)*1000 . " ms -->";
|
||||||
|
|
||||||
exit($exit);
|
exit($exit);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue