From: Rob Sayre Date: Sun, 26 Jun 2011 17:54:57 +0000 (-0700) Subject: Add timing information to test harness. X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=14da398dee3fa349a4e3190acf85784fc3ef49e3;p=pdf.js.git Add timing information to test harness. --- diff --git a/test/test.py b/test/test.py index 5aece2c..96aeb5c 100644 --- a/test/test.py +++ b/test/test.py @@ -415,6 +415,7 @@ def processResults(): def main(): + t1 = time.time() optionParser = TestOptions() options, args = optionParser.parse_args() options = optionParser.verifyOptions(options) @@ -434,6 +435,8 @@ def main(): processResults() finally: teardownBrowsers(browsers) + t2 = time.time() + print "Runtime was", int(t2 - t1), "seconds" if __name__ == '__main__': main()