Let me know if you have additional results that are not in my table supplied below.
I have not been able to test iPhone 3G devices or earlier because they don't support iOS versions that support Smart Basic.
Code: Select all
mm=1e6
option base 1
SET UNDERGROUND ON
OPTION SCREENLOCK OFF
SET ORIENTATION TOP
SET OUTPUT FONT SIZE 17
again:
time reset
for i=1 to mm
j=i 'two simple assignments
l=i 'in a loop
next i
t=time()
kp=mm/t
tot+=kp
k+=1
print "########":kp;"#######":tot/k;k;t
goto again
' 1e6
/*
runs faster w/ wifi off than on ?
why is there variability?
dev ios sB speed
iph3gs 5 5.1 48.3k
ipad1 5.1.1 5.1 92k
iph4 7.1.2. 5.7 89k,104k,140k
iph4s 7.0.4 5.7 205k
ipad3 9.3.5 5.8 275k
iph5 6,8 412k
iph5s 10 1827k
iph6 10 2000k
ipadA2 11 2094k
iphSE 10 5.8 2980k
ipadG5 11 2970k
iph8 11 5.8 5840k (ez,new)
*/
As noted in the code (and the table), I get some repeatable unexplained variability on some devices, as seen on the "iph4" row. I don't know what causes this significant variability.dev ios sB speed
iph3gs 5 5.1 48.3k
ipad1 5.1.1 5.1 92k
iph4 7.1.2. 5.7 89k,104k,140k
iph4s 7.0.4 5.7 205k
ipad3 9.3.5 5.8 275k
iph5 6,8 412k
iph5s 10 1827k
iph6 10 2000k
ipadA2 11 2094k
iphSE 10 5.8 2980k
ipadG5 11 2970k
iph8 11 5.8 5840k (ez,new)
Also, speed tests sometimes vary depending on whether wi-fi is on or off. I can't explain that either.
Of course, for a truly valid test, there should be no other concurrent active tasks on your device.
I haven't tested an iPhone X yet, but I expect that it will be the same as the iphone 8.
Cheers!
Mark