Announcement

Collapse
No announcement yet.

Pyston 0.2 Is A Heck Of A Lot Better At Running Python Programs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pyston 0.2 Is A Heck Of A Lot Better At Running Python Programs

    Phoronix: Pyston 0.2 Is A Heck Of A Lot Better At Running Python Programs

    Earlier this year cloud storage provider Dropbox open-sourced their own high-performance Python implementation, Pyston. Pyston is a JIT-based Python implementation built atop the LLVM compiler stack. The initial Pyston release was a bit basic but now after months of work, Dropbox is announcing the second version of Pyston...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Benchmarks

    Any plans to test this out for us? I'd sure be interested in seeing what it was capable of

    Comment


    • #3
      Originally posted by jagoly View Post
      Any plans to test this out for us? I'd sure be interested in seeing what it was capable of
      Only if anyone contributes some interesting Python-based test cases to the PhoronixTestSuite/OpenBenchmarking.org... Right now there's very few Python tests in there.
      Michael Larabel
      https://www.michaellarabel.com/

      Comment


      • #4
        Programming language performance- Python is slow

        Stock Python interpreter is very slow. Jython is slow, PyPy is a bit better. I never tried .NET based IronPython as I'm on Linux. I've seen fist-hand Python performance is ~10x-30x slower than same thing done Java. Debian language shootout reports ~60x slower than C performance.



        It's a bit curious how nice new "sexy" languages like Python or Ruby perform so bad with stock VMs/interpreters.

        I know C, C++, Java and C# are close to top in terms of performance. I was very surprised to see Scala perform that well- I think it's probably the fastest of the "scripting" langages where you don't need to precompile things to run them- only ~3x slower than C. I guess it uses JIT capabilities of Java VM effectively.

        Of course standard disclaimers apply- it depends on the implementation of the algorithm, you should not optimize your code until you know where the bottlenecks are, premature optimization is the root of all evil, picking the right algorithm is more important than pure language speed, yada yada. Oh, and I'm not affiliated with Debian language shootout, I just think they did a good enough job at a tricky and controveresial task.

        Comment


        • #5
          Language performance tests would be nice to have.

          I would love to see performance of several different languages doing several different algorithms (integers, strings, floating point, IO, network?) on several different CPUs/Platforms (different ARMs, AMD, Intel, MIPS?) and operating systems (Windows, different versions of Linux, BSD). I wish I had time to help add that to your test suite, but I don't...

          Originally posted by Michael View Post
          Only if anyone contributes some interesting Python-based test cases to the PhoronixTestSuite/OpenBenchmarking.org... Right now there's very few Python tests in there.

          Comment


          • #6
            Originally posted by Michael View Post
            Only if anyone contributes some interesting Python-based test cases to the PhoronixTestSuite/OpenBenchmarking.org... Right now there's very few Python tests in there.
            A comparison of JITed language implementations would be awesome.

            Comment


            • #7
              Originally posted by coder111 View Post
              Stock Python interpreter is very slow. Jython is slow, PyPy is a bit better. I never tried .NET based IronPython as I'm on Linux. I've seen fist-hand Python performance is ~10x-30x slower than same thing done Java. Debian language shootout reports ~60x slower than C performance.



              I know C, C++, Java and C# are close to top in terms of performance. I was very surprised to see Scala perform that well- I think it's probably the fastest of the "scripting" langages where you don't need to precompile things to run them- only ~3x slower than C. I guess it uses JIT capabilities of Java VM effectively.
              .
              Reference implementations aren't often the most awesome ones. That's essentially what CPython is, a reference implementation. PyPy implements Python as well but I many ways better

              Comment


              • #8
                Events vs language.

                As for language speed:
                Managing asynchronous processing is far more important for most workloads that wait on network, pipe, or disk.

                Asynchronous-first languages like Javscript or Google Go have the benefit of a majority of libraries being asynchronous-safe, while languages where this is tacked-on (C#, C++, etc) have the additional risk of library review to determine if it is as asynchronous as your code.

                Comment

                Working...
                X