iOS timing: Go stack stackPath with lockmessages set to true
Posted: Sun Aug 27, 2017 11:42 am
OSX 10.12.6, LC 8.1.5RC3, iOS simulator 9.2, iPad 3 with iOS 9.3.5
On my splash screen script I need to open, save and close the final stack, in order to do some changes like localisation , without running its Preopenstack, open stack, etc.
The script is similar to this:
Note that the path (gPref["AllPath"]["PathFR"]) is, on the standalone:
OSX - Inside the "Resources/_MacOS/" of the package
iOS - inside specialfolderpath("engine") & "/NameOfTheApp.lcfr"
Everything works fine, BUT tResult is roughly:
- 0,5 seconds on OSX
- 1 seconds on iOS simulator
- 11 seconds on the iPad 3 !!!!!!!
I checked and the preopenstack of the final stack (around 5MB) is correctly not run (since there is a lock messages).
Any Idea why is taking so long on the iPAD?
Thanks
Trevix
On my splash screen script I need to open, save and close the final stack, in order to do some changes like localisation , without running its Preopenstack, open stack, etc.
The script is similar to this:
Code: Select all
...
put the milliseconds into tMillSeconds
lock messages
go invisible stack gPref["AllPath"]["PathFR"]
put the milliseconds - tMillSeconds into tResult
...
OSX - Inside the "Resources/_MacOS/" of the package
iOS - inside specialfolderpath("engine") & "/NameOfTheApp.lcfr"
Everything works fine, BUT tResult is roughly:
- 0,5 seconds on OSX
- 1 seconds on iOS simulator
- 11 seconds on the iPad 3 !!!!!!!
I checked and the preopenstack of the final stack (around 5MB) is correctly not run (since there is a lock messages).
Any Idea why is taking so long on the iPAD?
Thanks
Trevix