Re: [pypy-dev] use as benchmark pypy vs python if you please

2015-09-13 Thread Maciej Fijalkowski
PyPy warmup is quite slow, so very very likely On Fri, Sep 11, 2015 at 12:26 PM, Phyo Arkar wrote: > i am just testing a n_queen solver, yesterday with 2.6.1 vs Nodejs. > > The code i tested is from https://github.com/chaddotson/puzzles > > But pypy is much faster as nqueen grows . And it is 40%

Re: [pypy-dev] use as benchmark pypy vs python if you please

2015-09-11 Thread Phyo Arkar
Forgot to add , they are different code and there is no Set operation , so might not be related. ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] use as benchmark pypy vs python if you please

2015-09-11 Thread Phyo Arkar
i am just testing a n_queen solver, yesterday with 2.6.1 vs Nodejs. The code i tested is from https://github.com/chaddotson/puzzles But pypy is much faster as nqueen grows . And it is 40% faster than nodejs. In smaller numbers < 10 it is slower but it has to do with JIT Warmup right? (pypy-cu

Re: [pypy-dev] use as benchmark pypy vs python if you please

2015-09-01 Thread Armin Rigo
Hi Dima, On Mon, Aug 4, 2014 at 5:04 PM, Dima Tisnek wrote: > Attached is n-queens solver (pardon my naive algorithm), it runs: > python 2.7.6: 17s > pypy 2.4.0 alpha: 23s > same nojit: 32s > > I've tried similar-looking algorithm for another problem before, and has > similar results -- somehow p

[pypy-dev] use as benchmark pypy vs python if you please

2014-08-04 Thread Dima Tisnek
Attached is n-queens solver (pardon my naive algorithm), it runs: python 2.7.6: 17s pypy 2.4.0 alpha: 23s same nojit: 32s I've tried similar-looking algorithm for another problem before, and has similar results -- somehow pypy was slower. feel free to investigate / tweak or even use on speed.pypy