Page 1 of 1

iOS timing: Go stack stackPath with lockmessages set to true

Posted: Sun Aug 27, 2017 11:42 am
by trevix
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:

Code: Select all

...
 put the milliseconds into tMillSeconds
    lock messages
    go  invisible stack gPref["AllPath"]["PathFR"]
put the milliseconds - tMillSeconds into tResult
...
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

Re: iOS timing: Go stack stackPath with lockmessages set to

Posted: Sun Aug 27, 2017 3:32 pm
by jacque
Actually, on iOS, files are now in specialFolderPath("resources"). When searching for file paths, the engine will translate calls to specialFolderPath("engine") to look in the resources folder instead. But that certainly shouldn't take 11 seconds to do.

You could try changing the path to use the resources folder instead to see if it helps though.

Re: iOS timing: Go stack stackPath with lockmessages set to

Posted: Mon Aug 28, 2017 3:06 pm
by trevix
I tried, using"resources" but to no avail. Timing is the same.
It is not also a memory problem of the iPad (17 GB free over 27GB).
Note also that once loaded, the final stack runs fine.

I am starting to believe that is a bug. Will try with LC8.1.6

Re: iOS timing: Go stack stackPath with lockmessages set to

Posted: Mon Aug 28, 2017 4:07 pm
by trevix
See BUG 20304

Re: iOS timing: Go stack stackPath with lockmessages set to

Posted: Tue Aug 29, 2017 9:03 am
by trevix
Wrong Forum or Wrong language

Re: iOS timing: Go stack stackPath with lockmessages set to

Posted: Tue Aug 29, 2017 9:04 am
by shaosean
it's spam.. i'm sure you may have noticed that they've been posting to most threads (i've been reporting them) but i think this user just needs to be removed..