[pypy-commit] extradoc extradoc: remove spaces
bivab
noreply at buildbot.pypy.org
Fri Aug 10 14:54:54 CEST 2012
Author: David Schneider <david.schneider at picle.org>
Branch: extradoc
Changeset: r4499:82a1708aa1a5
Date: 2012-08-10 14:29 +0200
http://bitbucket.org/pypy/extradoc/changeset/82a1708aa1a5/
Log: remove spaces
diff --git a/talk/vmil2012/tool/build_tables.py b/talk/vmil2012/tool/build_tables.py
--- a/talk/vmil2012/tool/build_tables.py
+++ b/talk/vmil2012/tool/build_tables.py
@@ -35,8 +35,8 @@
bridges = len([k for k,v in info['results'].iteritems() \
if v > BRIDGE_THRESHOLD])
res = [bench.replace('_', '\\_'),
- "%.1f \\%%" % (100 * total_failures/total),
- "%.1f \\%%" % (100 * bridges/total),
+ "%.1f\\%%" % (100 * total_failures/total),
+ "%.1f\\%%" % (100 * bridges/total),
]
table.append(res)
output = render_table(template, head, sorted(table))
@@ -83,7 +83,7 @@
values.append(o / ops[t] * 100)
assert 100.0 - sum(values) < 0.0001
- res.extend(['%.1f \\%%' % v for v in values])
+ res.extend(['%.1f\\%%' % v for v in values])
table.append(res)
output = render_table(template, head, sorted(table))
write_table(output, texfile)
@@ -102,7 +102,7 @@
res = [bench['bench'].replace('_', '\\_'),]
for t in ('before', 'after'):
o = int(bench['guard %s' % t])
- res.append('%.1f \\%%' % (o / ops[t] * 100))
+ res.append('%.1f\\%%' % (o / ops[t] * 100))
table.append(res)
output = render_table(template, head, sorted(table))
write_table(output, texfile)
@@ -142,11 +142,11 @@
res = [
bench['bench'].replace('_', '\\_'),
ops_bo,
- "%.1f \\%%" % (guards_bo / ops_bo * 100,),
+ "%.1f\\%%" % (guards_bo / ops_bo * 100,),
ops_ao,
- "%.1f \\%%" % (guards_ao / ops_ao * 100,),
- "%.1f \\%%" % ((1 - ops_ao / ops_bo) * 100,),
- "%.1f \\%%" % ((1 - guards_ao / guards_bo) * 100,),
+ "%.1f\\%%" % (guards_ao / ops_ao * 100,),
+ "%.1f\\%%" % ((1 - ops_ao / ops_bo) * 100,),
+ "%.1f\\%%" % ((1 - guards_ao / guards_bo) * 100,),
]
table.append(res)
output = render_table(template, head, sorted(table))
@@ -174,7 +174,7 @@
gmsize = float(bench['guard map size'])
asmsize = float(bench['asm size'])
rdsize = float(resumedata[name]['total resume data size'])
- rel = r"%.1f {\scriptsize \%%}" % (asmsize / (gmsize + rdsize) * 100,)
+ rel = r"%.1f{\scriptsize\%%}" % (asmsize / (gmsize + rdsize) * 100,)
table.append([
r"%s" % bench['bench'],
r"%.1f {\scriptsize KiB}" % (asmsize,),
More information about the pypy-commit
mailing list