Very nice. Pypy is the future.
On Sep 1, 2014 10:25 PM, "Armin Rigo" <ar...@tunes.org> wrote:

> Hi,
>
> On 1 September 2014 17:06, Phyo Arkar <phyo.arkarl...@gmail.com> wrote:
> > Thanks a lot. I haven't get to test lastest commit yet.
> > So in that , attached benchmark in pypy is running faster than python
> now?
>
> Yes, for the utf-8 test (the tests with "double" didn't change).  Here
> is what I get on Linux 64:
>
> $ pypy-c-r73264-jit benchmark.py
>
> Array with 256 doubles:
> simplejson encode : 3871.15257 calls/sec
> simplejson decode : 14651.04979 calls/sec
> Array with 256 utf-8 strings:
> simplejson encode UTF : 1393.29238 calls/sec
> simplejson decode UTF : 276.03465 calls/sec
>
> $ python benchmark.py      # 2.7.3
>
> Array with 256 doubles:
> simplejson encode : 3469.44902 calls/sec
> simplejson decode : 12419.69240 calls/sec
> Array with 256 utf-8 strings:
> simplejson encode UTF : 1278.32368 calls/sec
> simplejson decode UTF : 355.18049 calls/sec
>
>
> A bientôt,
>
> Armin.
>
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to