[pypy-dev] How to turn a crawling caterpillar of a VM into a graceful butterfly

Armin Rigo arigo at tunes.org
Sat Dec 31 17:45:35 CET 2011


Hi Laurence,

On Sat, Dec 31, 2011 at 16:26, Laurence Tratt <laurie at tratt.net> wrote:
>  func main():
>    i := 0
>    while i < 100000:
>      i += 1

A quick update: on this program, with 100 times the number of
iterations, "converge-opt3" runs in 2.6 seconds on my laptop, and
"converge-jit" runs in less than 0.7 seconds.  That's already a 4x
speed-up :-)  I think that you simply underestimated the warm-up
times.


A bientôt,

Armin.


More information about the pypy-dev mailing list