diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2008-05-01 12:49:53 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2008-05-01 12:49:53 +0200 |
commit | 19cf9c20518b04886d95c9cfa7feb61df166c01d (patch) | |
tree | b4ec25ec2dd7ae46a5eb9011d3f7fb040a8ce906 /examples | |
parent | 7259c7664c2bd40b0c8b098bfefa7a1367f19e8d (diff) | |
download | jinja2-19cf9c20518b04886d95c9cfa7feb61df166c01d.tar.gz |
small performance improvements
--HG--
branch : trunk
Diffstat (limited to 'examples')
-rw-r--r-- | examples/bench.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bench.py b/examples/bench.py index e27489c..8696be0 100644 --- a/examples/bench.py +++ b/examples/bench.py @@ -305,7 +305,7 @@ for test in 'jinja', 'mako', 'tenjin', 'spitfire', 'django', 'genshi', 'cheetah' stmt='bench()') sys.stdout.write(' >> %-20s<running>' % test) sys.stdout.flush() - sys.stdout.write('\r %-20s%.4f seconds\n' % (test, t.timeit(number=20) / 20)) + sys.stdout.write('\r %-20s%.4f seconds\n' % (test, t.timeit(number=50) / 50)) sys.stdout.write('-' * 80 + '\n') sys.stdout.write('''\ WARNING: The results of this benchmark are useless to compare the |