I just pushed some changes to the development app loader to enable an app cache in the default launcher.
In a default-ish install it brings the startup time down from 0.46s to 0.36s
I installed a few extra apps and it came down from 0.57s to 0.39s (it scales much better)
And if you're switching apps so not reloading widgets it's even faster (0.25s). I feel like the same changes could be pulled into other launchers pretty easily too, and would go a long way towards improving the app switching times when there are a lot of apps installed.
Maybe we should add a debug bootloader that logs per-bootfile timings to the console on boot?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I just pushed some changes to the development app loader to enable an
app cache
in the defaultlauncher
.And if you're switching apps so not reloading widgets it's even faster (0.25s). I feel like the same changes could be pulled into other launchers pretty easily too, and would go a long way towards improving the app switching times when there are a lot of apps installed.
Try this: https://gist.github.com/gfwilliams/95f776176929b58b3603034065c3ec2d
Seems to work ok, by default I'm seeing:
So not too bad at all.