funblaster22 / MathMan

Math workbook with tagging and review
https://funblaster22.github.io/MathMan/
0 stars 0 forks source link

Lag when returning to browser (audit indexedDb queries) #5

Open funblaster22 opened 9 months ago

funblaster22 commented 9 months ago

Could be because large images, in which case, I put them in their own store. However, I'm thinking it's an issue with indexedDB itself as per RxDb, so it might be cool to switch to file system API

funblaster22 commented 9 months ago

The iOS Safari profiler wasn't very useful. I wasn't able to reproduce on Chrome desktop. There's just a click handler, a bunch of microtasks being dispatched, a long pause, and then activity resumes. I did find out however that clearing the canvas takes 200 milliseconds. I probably want to switch to the files API anyway because it's solves my portability issue