From eee424fe9c39d1035b947f950c3e52dbbb40f7f6 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sun, 31 Aug 2008 14:44:53 -0300 Subject: [PATCH] Add the total render time as a comment when handling CGI --- blitiri.cgi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/blitiri.cgi b/blitiri.cgi index 2a5df90..b158380 100755 --- a/blitiri.cgi +++ b/blitiri.cgi @@ -1251,7 +1251,10 @@ def handle_cmd(): if os.environ.has_key('GATEWAY_INTERFACE'): + i = datetime.datetime.now() handle_cgi() + f = datetime.datetime.now() + print '' % (f-i) else: sys.exit(handle_cmd()) -- 2.43.0