mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-24 09:08:07 +02:00
Add timing information to test harness.
This commit is contained in:
parent
ee954d8c0a
commit
8a369b7876
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue