From bc65371739172f05b76a44383147063ca9056297 Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Tue, 22 Nov 2016 15:28:35 +0100 Subject: parsebench: change from table to div:s --- tools/parsebench.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/parsebench.py b/tools/parsebench.py index 067cf65..6897b57 100755 --- a/tools/parsebench.py +++ b/tools/parsebench.py @@ -59,7 +59,7 @@ def parse_one_file(filename): iterations = itertools.groupby(lines, lambda x: x[0]) for (i, iteration) in iterations: print >>sys.stderr, (i, iteration) - print "" + sys.stdout.write("
") for (_, stage, data) in iteration: data = list(data) for (itemn, (item, useconds)) in enumerate(data): @@ -68,10 +68,10 @@ def parse_one_file(filename): step = 50 / (len(shades) - 1) shade = shades[item] stagen = stageorderdict[stage] - print "
" - print "
" % (int(seconds*scale), stagen * 90, shade * step + 40, stage, item, seconds) + print "
" % (int(seconds*scale), stagen * 90, shade * step + 40, stage, item, seconds) print " " - print "
" + sys.stdout.write("") + sys.stdout.write("") print "" print "
" print "
" -- cgit v1.1