Mainly Tech projects on Python and Electronic Design Automation.

Tuesday, May 06, 2014

Python PyPy interpreter in Javascript: Firefox beats CPython beats Chrome!

Ryan Kelly posted info on PyPy.js an implementation of Python written in Javascript. available here
I tried it on Chrome Version 34.0.1847.131 m (the latest). using the pystone benchmark:

In cPython 3.4.0b1  I got:

And in Firefox 29.0 I got:

These were the latest versions at the time of writing (I think) and taking the fastest of their four runs on the same machine gives:

PlatformBest of 4 PystoneMultiplier
See the original article for caveats on the state of PyPy.js - it may only run pystone for all I know.

Of course it doesn't say much about Python speed but it may say something about Chrome vs Firefox speed? Who knows - lies, damned lies, and statistics!

1 comment:

  1. Internet Explorer 11.0.9600.17105 Update versions 11.0.7 (KB2964358) gave a best score of 2083.51 pystones/second



Subscribe Now: google

Add to Google Reader or Homepage

Go deh too!

Blog Archive