Thanks! i might think bad about those benchmarks representing python workloads, howecer they are very likely good for cpyext. good job.
On Thursday, July 5, 2012, Stefan Behnel <stefan...@behnel.de> wrote: > Stefan Behnel, 05.07.2012 14:35: >> http://cython.org/callgrind-pypy-nbody.png > > I've set up a job on our build server to run a couple of (simple) > benchmarks comparing Cython's current performance under CPython and PyPy. > Note that these are C-API intensive benchmarks by design (they are compiled > from Python code), even though they use static type annotations for > optimisation. Despite of what you might think about these benchmarks in > general, I think they are quite suitable for cpyext. > > https://sage.math.washington.edu:8091/hudson/job/cython-devel-cybenchmarks-pypy/ > > The latest results are here: > > https://sage.math.washington.edu:8091/hudson/job/cython-devel-cybenchmarks-pypy/lastSuccessfulBuild/artifact/bench_chart.html > > They currently run 100-200x slower through cpyext than in CPython 2.7. The > build job always uses the latest nightly build of PyPy, so any changes in > Cython or PyPy will usually show up within the next 24 hours. > > The build job also archives the generated .c files (and the original > sources, including the HTML version). If anyone wants to play with them, > you can just download the C file, build it with distutils, import it and > then call its "main(number_of_iterations)" function. The C code works in > both PyPy and CPython, although the actual C-API calls differ somewhat > between the two. > > Stefan > > _______________________________________________ > pypy-dev mailing list > pypy-dev@python.org > http://mail.python.org/mailman/listinfo/pypy-dev >
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev