[pypy-dev] pypy performance on fractal terrain generator.
Maciej Fijalkowski
fijall at gmail.com
Sat May 18 20:10:29 CEST 2013
On Sat, May 18, 2013 at 8:03 PM, sean riley <mrrileyx at gmail.com> wrote:
> FYI. Performance comparison of pypy and CPython using a fractal terrain
> generator and writing out a png file. Pypy is 6-11x faster on my Ubuntu
> Intel system.
>
>
> For 1024x1024 map:
>
> sriley at xxxy:/data/src/cityserver$ time pypy map.py
> real 0m0.656s
> user 0m0.596s
> sys 0m0.052s
>
> sriley at xxx:/data/src/cityserver$ time python map.py
> real 0m4.189s
> user 0m4.132s
> sys 0m0.044s
>
> For 4096x4096 map:
>
> sriley at xxx:/data/src/cityserver$ time pypy map.py
> real 0m6.511s
> user 0m6.152s
> sys 0m0.328s
>
> sriley at xxx:/data/src/cityserver$ time python map.py
> real 1m7.641s
> user 1m7.124s
> sys 0m0.324s
>
>
> Sean.
>
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> http://mail.python.org/mailman/listinfo/pypy-dev
>
Cool, thanks for sharing!
Cheers,
fijal
PS. No, it's not a spam message despite looking like one, genuinely thanks
More information about the pypy-dev
mailing list