Commits

Armin Rigo committed 91ce4e8

The basic threshold is now larger by 2% than it used to be.

Comments (0)

Files changed (2)

pypy/module/pypyjit/test_pypy_c/test_misc.py

                 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("""

pypy/module/pypyjit/test_pypy_c/test_string.py

                 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)