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.
Benchmarks: What new things does iOS 9 enable in Pythonista?
-
Wow, only got this on my MacPro.
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /Users/ianjoicey/PycharmProjects/untitled1/main.py
Pystone(1.1) time for 50000 passes = 0.525893
This machine benchmarks at 95076.4 pystones/secondProcess finished with exit code 0
I am pretty sure it was run without debugging. Seems very slow compared to the other numbers.
-
Well I'm using Pythonista on my iPad running an HTTP Server script to serve HTML (also edited in Pythonista) as (localhost) to Safari running in iOS 9 Slide Over mode.
This is functioning as (a basic but) nice sidebar for augmenting text. For example wrapping text in quotes, composing Markdown links from text+URL.
It's basic now; It might not be so basic later on.
Not sure if this counts as the 1 iOS 9 element is I'm targeting Slide Over (which IS new in 9). And I'm doing it from Pythonista.
-
Pystone for iPad Pro, 128gb , wifi/cell iOS 9.1
Pystone(1.1) time for 50000 passes = 0.35624
This machine benchmarks at 140355 pystones/secondthats a nice increase
platform.platform()
'Darwin-15.0.0-iPad6,8-64bit'
import timeit
timeit.timeit('import sympy')
2.832141160964966 -
New iPad Pro 12.5' , time for new benchmark :) I had to run with 2.7, the map object in Pystone apparently does support subscripts in 3.x something. I didn't know how to fix, so I just ran with python 2.7
It seems like @omz had a test built in before, but that looks like it's gone.
My test below is a single run with Pythonista started fresh
Pystone(1.1) time for 50000 passes = 0.246699
This machine benchmarks at 202676 pystones/second
Platform Darwin-16.7.0-iPad7,2-64bit
timeit.timeit('import sympy')
1.65520620346 -
Ipad 12.5! Never heard about it.
-
-
@komanguy Promo on 12,9" 😇
-
iPad Pro 10.5" (Pythonista 3): 146,820 pystones/second
MacBook Pro 13", 2.9 Ghz i5 (Python 3.5): 70,019 pystones/second
-
My mythical iPad is looking pretty good so far :)
-
@Phuket2 I tested with Python 3. I think Python 2 is still faster in most benchmarks.