summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-10-23 16:48:58 +0100
committerAndrew Dolgov <[email protected]>2005-10-23 16:48:58 +0100
commit406d948993c54b78260f42cc544f893eb6e75793 (patch)
tree3244f41ed895d6ee5374d00c2fe9fbccf6e7ab4d /backend.php
parentfc69e64169acac42622be2fcf3fba14711b11768 (diff)
basic profiling information in backend.php
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/backend.php b/backend.php
index 495cebe72..77f834eb9 100644
--- a/backend.php
+++ b/backend.php
@@ -10,6 +10,8 @@
require_once "functions.php";
require_once "magpierss/rss_fetch.inc";
+ $script_started = getmicrotime();
+
$link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
if (!$link) {
@@ -1296,3 +1298,6 @@
db_close($link);
?>
+
+<!-- <?= sprintf("Backend execution time: %.4f seconds", getmicrotime() - $script_started) ?> -->
+