From f40b056e3b5e55d911d1689017084ef89d96d09a Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 4 Jul 2012 20:37:15 -0700 Subject: some initial code and benchmarking for "red" content rendering engine --- include/dba.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/dba.php b/include/dba.php index 881097f30..71c1ba859 100644 --- a/include/dba.php +++ b/include/dba.php @@ -275,3 +275,9 @@ function dbesc_array(&$arr) { array_walk($arr,'dbesc_array_cb'); } }} + + +function dba_timer() { + return microtime(true); +} + -- cgit v1.2.3