omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Python benchmarking

    Pythonista
    16
    23
    21709
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • nope
      nope last edited by

      That's not right... The 4s has the same processor as the ipod 5. Keep in mind I'm running pythonista 1.4.
      Seems like they made quite an improvement from 1.4 to 1.5.
      Could people please list the pythonista versions/ python versions they are using?

      1 Reply Last reply Reply Quote 0
      • SpotlightKid
        SpotlightKid last edited by

        If you want to compare all your Python installations, there's the problem that the version of pystone.py linked in the first post doesn't work for Python >= 3 and the version included with your Python 3 installation doesn't work with Python 2.

        So I created variant which fixes this (see the docstring for changes), taking the version from the Python mercurial default branch as the basis:

        https://gist.github.com/SpotlightKid/3bd430a75b84a08e54f9

        Chris

        PS. My results for the iPad2 above were with Pythonista 1.5 (Python 2.7.5).

        1 Reply Last reply Reply Quote 0
        • fjom146
          fjom146 last edited by

          Adding an Iphone 5 with Pythonista 1.5:</p>
          <code>Pystone(1.1.1) time for 50000 passes = 2.4415
          This machine benchmarks at 20479.2 pystones/second</code>

          1 Reply Last reply Reply Quote 0
          • nope
            nope last edited by

            Pythonista 1.5, I'm getting 10413.3 pystones/second on the ipod touch 5th generation. There's a 100% jump from pythonista 1.4 to 1.5, that's impressive!

            1 Reply Last reply Reply Quote 0
            • JadedTuna
              JadedTuna last edited by

              My iPad 3 gives me 13084.3 ps/sec with Pythonista 1.5<br>
              And Samsung comp with Fedora 20 gives me 113778 ps/sec with Python 2.7.5

              Idk how find out my comps GHz so...

              1 Reply Last reply Reply Quote 0
              • SpotlightKid
                SpotlightKid last edited by

                @ShadowSlayer: cat /proc/cpuinfo

                1 Reply Last reply Reply Quote 0
                • JadedTuna
                  JadedTuna last edited by

                  @SpotlightKid, thanks. Looks like it is 2.4 GHz

                  1 Reply Last reply Reply Quote 0
                  • oefe186
                    oefe186 last edited by

                    iPad 4th generation, Pythonista 1.5: 23446.4 pystones/second

                    1 Reply Last reply Reply Quote 0
                    • victordomingos
                      victordomingos last edited by victordomingos

                      iPhone 4

                      • iOS 7.1.2, Pythonista 1.5: 7,11 secs, 7032,32 ps/sec.
                      • iOS 7.1.2, Editorial 1.2.1: 12,93 secs, 3868,43 ps/sec.

                      iPhone 6 Plus

                      • iOS 11.1, Pythonista 3.1, Python 3.5: 1.05s, 47748,8 ps/sec.
                      • iOS 11.1, Pythonista 3.1, Python 2.7: 0,85s, 59025,5 ps/sec.

                      iPhone 7

                      • iOS 11.1, Pythonista 3.1, Python 3.5: 0,38s, 129871 ps/sec.
                      • iOS 11.1, Pythonista 3.1, Python 2.7: 0,30s, 164172 ps/sec.
                      • iOS 11.1, Editorial 1.3.3: 0,31s, 162671 ps/sec.
                      1 Reply Last reply Reply Quote 0
                      • Phuket2
                        Phuket2 last edited by

                        IPad Pro 12.9' latest generation, highest spec.
                        IOS 11.1
                        Pythonista beta 311015

                        Py2.7
                        Pystone(1.1.1) time for 50000 passes = 0.25216
                        This machine benchmarks at 198287 pystones/second

                        Py3.6.1
                        Pystone(1.1.1) time for 50000 passes = 0.330286
                        This machine benchmarks at 151384 pystones/second

                        1 Reply Last reply Reply Quote 1
                        • upwart
                          upwart last edited by

                          iPad Pro 10.5” 256 GB
                          iOS 11.0.3
                          Pythonista 3.1

                          Python 3.5
                          Pystone(1.1.1) time for 50000 passes = 0.349502
                          This machine benchmarks at 143061 pystones/second

                          Python 2.7
                          Pystone(1.1.1) time for 50000 passes = 0.296025
                          This machine benchmarks at 168905 pystones/second

                          1 Reply Last reply Reply Quote 0
                          • wolf71
                            wolf71 last edited by wolf71

                            iPad Pro 9.7 256G iOS 11.1

                            Python 2.7

                            Pystone(1.1.1) time for 50000 passes = 0.346581
                            This machine benchmarks at 144266 pystones/second

                            Python 3.5

                            Pystone(1.1.1) time for 50000 passes = 0.427856
                            This machine benchmarks at 116862 pystones/second

                            1 Reply Last reply Reply Quote 0
                            • chibill
                              chibill last edited by chibill

                              **Iphone 7 11.0.3 pythonista beta 311015 **
                              python 2.7
                              Pystone(1.1.1) time for 50000 passes = 0.285025
                              This machine benchmarks at 175423 pystones/second
                              python 2.7 in low power mode
                              Pystone(1.1.1) time for 50000 passes = 0.627438
                              This machine benchmarks at 79689.1 pystones/second

                              python 3.6
                              Pystone(1.1.1) time for 50000 passes = 0.372435
                              This machine benchmarks at 134252 pystones/second

                              python 3.6 in low power mode
                              Pystone(1.1.1) time for 50000 passes = 0.774095
                              This machine benchmarks at 64591.6 pystones/second

                              1 Reply Last reply Reply Quote 0
                              • victordomingos
                                victordomingos last edited by

                                I hadn't noticed that huge performance impact by using Low Power Mode (probably for not having to run any processor intensive tasks in my Pythonista).

                                Thanks for sharing!

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Powered by NodeBB Forums | Contributors