11

Pyston 0.6.1 released, and future plans

 4 years ago
source link: https://blog.pyston.org/2017/01/31/pyston-0-6-1-released-and-future-plans/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Hello all, we’re happy to release Pyston version 0.6.1, the latest version of our high-performance Python JIT.  v0.6.1 contains performance enhancements over 0.6, bringing Pyston to 95% faster than CPython on standard benchmarks.

On the other hand, this is the last release that Dropbox is sponsoring.  We wanted to take some time to talk about what that means, both about the space of Python performance, and about the Pyston project specifically.

What’s happened

It’s hard to break down the change in cost-benefit analysis, but here are some factors that went into our decision:

  • We spent much more time than we expected on compatibility
  • We similarly had to spend more time on memory usage due to it being a bigger concern than expected
  • Dropbox has increasingly been writing its performance-sensitive code in other languages, such as Go

Our personal take is that the increase on the “cost” side could potentially be considered typical, whereas the decrease on the “benefit” side was probably a larger driver.  It’s hard to say, though, since if we had managed to build things twice as fast the calculus would have been different.

Where we are

We are quite proud that, over the last three years, we’ve been able to achieve meaningful speedups while maintaining a higher level of compatibility than other solutions: we are the first alternative Python runtime to be able to run Dropbox faster.

As for numbers, on the just-released v0.6.1, we are 95% faster on standard Python benchmarks.  On web-workload benchmarks that we created, we are 48% faster.  On Dropbox’s server, we are 10% faster.

We think it’s worth mentioning that the 10% speedup on Dropbox code is just a small fraction of what we think is possible with our approach. We’ve spent most of our time working on compatibility and memory usage and have not had time to optimize this particular workload.

Where we go from here

Marius and I are no longer spending our time working on Pyston and are transitioning to other projects.  The project itself remains open source and available, and we are investigating ways that the project can continue, either in whole or in part.  We are also looking into upstreaming parts of our code back to CPython, since our code is now based on theirs.

We’re proud of what we’ve done and we are looking forward to going into more detail about the technical details in the near future.  We also take some small consolation in having helped map out what Python performance-versus-compatibility tradeoffs may be valuable.

In the end, we are happy that we attempted this, are excited about the many potential ways that our work on Pyston could still be useful, and are happy to refocus ourselves on domains with more immediate needs.


Recommend

  • 25

    Pyston 是 Python 的基于 JIT 另一种实现,更快且高度兼容 CPython,和另一个被寄予厚望的 pypy 相比,Pyston 背后有 DropBox 的资金支持,发展会比 PyPy 更快。

  • 9
    • blog.pyston.org 4 years ago
    • Cache

    Pyston v2: 20% faster Python

    Pyston v2: 20% faster PythonSkip to content HomePyston v2: 20% faster Python ...

  • 12
    • blog.pyston.org 4 years ago
    • Cache

    Pyston 0.6 released

    We are excited to announce the v0.6 release of Pyston, our high performance Python JIT. In this release our main goal was to reduce the overall memory footprint.  It als...

  • 10
    • blog.pyston.org 4 years ago
    • Cache

    Pyston 0.3: Self-hosting Sufficiency

    We’ve been working hard over the past five months and are very happy to release Pyston 0.3, the newest version of our high-performance Python implementation. The biggest features of this release are that we can now run all of our internal scr...

  • 20
    • blog.pyston.org 4 years ago
    • Cache

    Pyston 0.4 released

    Pyston 0.4 releasedSkip to content HomePyston 0.4 released For a list of common questio...

  • 9

    Pyston v2.2: faster and open sourceSkip to content HomePyston v2.2: faster and open source

  • 3

  • 2

    We have some very exciting news to announce today: we (Marius and Kevin) are joining Anaconda! Anaconda is a well-known company that produces open-source Python software, and we think that by joining them we can significantly acceler...

  • 3
    • blog.pyston.org 3 years ago
    • Cache

    Pyston talk recording

    Hi all, two weeks ago we gave a talk about the current status of Pyston, including some technical details about our JIT strategy and its motivation.  I’m glad many of you could make it!  For those who couldn’t, we now have...

  • 8

    Pre-compiled packages now available for Pyston We’re excited to announce today that it’s easier than ever to use Pyston, our faster Python implementation. We have pre-compiled hundreds of extension modu...

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK