Il 02/01/2015 14:07, John Mark Vandenberg ha scritto:
On Fri, Jan 2, 2015 at 6:10 PM, Ricordisamoa ricordisamoa@openmailbox.org wrote:
PyPy is an alternative implementation of Python primarily focused on performance. During a very rough benchmark I made with CosmeticChangesToolkit and a few pages, it didn't provide significant speed improvements, but it did work. Have you ever tested PyPy or used it in production?
What tool did you use to do benchmarking, and can you share the results?
I used this self-made gist https://gist.github.com/ricordisamoa/974cb831d048ca42a784 ;-)
Here are the results: PyPy 2.3.1 with GCC 4.9.0 (Python 2.7.6): 11.888333 seconds CPython (Python 2.7.8): 12.732752 seconds
You will also need to 'diff' the 'cpython' and 'pypy' folders to ensure that PyPy applied cosmetic changes correctly.