11-15-2017 13:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-15-2017 13:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I have a schedule clockface that is slow to start. It is fine after it loads and is perfectly responsive; but it takes about 5 seconds to load when I update it from fitbit studio or if I start it as an app while I'm working on it.
[4:04:27 PM]App Started[HOST] [4:04:32 PM]Kearsarge Time Started app://app/index.js:1
You can see it is about 5 seconds from start to my first line of code running. I am porting and re-engineering my pebble watchface that tells me what period it is and how much time I have remaining. The schedule data is held in it's own file and is a very large (187 lines) dictionary (python dev mostly) of arrays of dictionaries. I tried to keep it human readable and easily edited for use by other people and other schedules. I think this might be the culprit but I'm not sure.
Here is my github page for it:
https://github.com/cmspooner/Kearsarge-Time-for-Fitbit-Ionic
Answered! Go to the Best Answer.
Accepted Solutions
11-23-2017 07:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-23-2017 07:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Beta 4 has effectively solved my issue. My start time is now 2 seconds from App Started to my first line of code. Whatever changes the team at Fitbit made under the hood have made quite an improvement; thank you!

11-17-2017 15:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-17-2017 15:27
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
I am currently facing the same issue. I too have large string arrays in my clock face (one string per day = 365 strings in total) and the app takes 4 - 5 seconds to load. So far I haven't found any way how to optimize this - I tried using 2D arrays, 1D arrays and even switch/case statements - it almost seems like the issue is not related to large arrays, but rather to interpreting large javascript files.
11-23-2017 07:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

11-23-2017 07:14
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Beta 4 has effectively solved my issue. My start time is now 2 seconds from App Started to my first line of code. Whatever changes the team at Fitbit made under the hood have made quite an improvement; thank you!

