From bd4c3ae31019b2c6217f269a7623f6c2279067c1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 29 Jun 2016 16:09:02 +0100 Subject: [PATCH] Add another hack script. --- hacks/testtimings | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 hacks/testtimings diff --git a/hacks/testtimings b/hacks/testtimings new file mode 100644 index 000000000..f4e808459 --- /dev/null +++ b/hacks/testtimings @@ -0,0 +1,22 @@ +#!/usr/bin/python + +import sys + +if len(sys.argv) < 2: + print>>sys.stderr,'Syntax %s ' % sys.argv[0] + sys.exit(1) + +tests = {} + +with open(sys.argv[1]) as f: + while True: + l = f.readline() + if l == '': + break + + s = l.split() + if len(s) == 7 and s[6][-3:] == 'mks': + tests[float(s[6][:-3]) / 1000000] = s[3][1:-2] + +for x in sorted(tests): + print x,tests[x] -- 2.30.2