Author: Armin Rigo <[email protected]>
Branch: counter-decay
Changeset: r50762:91ce4e8c26be
Date: 2011-12-20 16:15 +0000
http://bitbucket.org/pypy/pypy/changeset/91ce4e8c26be/
Log: The basic threshold is now larger by 2% than it used to be.
diff --git a/pypy/module/pypyjit/test_pypy_c/test_misc.py
b/pypy/module/pypyjit/test_pypy_c/test_misc.py
--- a/pypy/module/pypyjit/test_pypy_c/test_misc.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_misc.py
@@ -46,7 +46,7 @@
r *= n
n -= 1
return r
- log = self.run(fact, [7], threshold=5)
+ log = self.run(fact, [7], threshold=4)
assert log.result == 5040
loop, = log.loops_by_filename(self.filepath)
assert loop.match("""
diff --git a/pypy/module/pypyjit/test_pypy_c/test_string.py
b/pypy/module/pypyjit/test_pypy_c/test_string.py
--- a/pypy/module/pypyjit/test_pypy_c/test_string.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_string.py
@@ -55,8 +55,8 @@
i += int(long(string.digits[i % len(string.digits)], 16))
return i
- log = self.run(main, [1000])
- assert log.result == main(1000)
+ log = self.run(main, [1100])
+ assert log.result == main(1100)
loop, = log.loops_by_filename(self.filepath)
assert loop.match("""
i11 = int_lt(i6, i7)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit