Author: stian
Branch: improve-rbigint
Changeset: r56326:df00c7f6973b
Date: 2012-06-24 21:57 +0200
http://bitbucket.org/pypy/pypy/changeset/df00c7f6973b/
Log: Forgot pypy default results (300 times faster with improvements)
diff --git a/pypy/translator/goal/targetbigintbenchmark.py
b/pypy/translator/goal/targetbigintbenchmark.py
--- a/pypy/translator/goal/targetbigintbenchmark.py
+++ b/pypy/translator/goal/targetbigintbenchmark.py
@@ -11,6 +11,7 @@
A cutout with some benchmarks.
Pypy default:
484.5688
+ 334.611903
8.637287
12.211942
18.270045
@@ -32,13 +33,13 @@
"""
- """t = time()
+ t = time()
num = rbigint.fromint(10000000)
for n in xrange(10000):
rbigint.pow(rbigint.fromint(2), num)
- print time() - t"""
+ print time() - t
t = time()
num = rbigint.fromint(100000000)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit