summaryrefslogtreecommitdiff
path: root/speed-test
diff options
context:
space:
mode:
authorLars Wirzenius <liw@xander>2011-02-04 22:14:15 +0200
committerLars Wirzenius <liw@xander>2011-02-04 22:14:15 +0200
commit7c08f99a8f0e8d12afb8adb6966f4bb3262c8697 (patch)
tree9d682df5eb9a5be7068b874810b2fe9a601579b8 /speed-test
parent4f855b71e11646da6d95bc2e081bd4083cf20a5a (diff)
downloadpython-tracing-7c08f99a8f0e8d12afb8adb6966f4bb3262c8697.tar.gz
Optimize speed a bit.
Diffstat (limited to 'speed-test')
-rwxr-xr-xspeed-test2
1 files changed, 1 insertions, 1 deletions
diff --git a/speed-test b/speed-test
index 05736a3..76e6b9a 100755
--- a/speed-test
+++ b/speed-test
@@ -10,7 +10,7 @@ python -m timeit \
-s '
class Foo(object):
def foo(self):
- tracing.trace("%s" % "bar")
+ tracing.trace("%s", "bar")
f = Foo()
' \
'f.foo()'