Roadmap 0.10, Performance roadmap — wave 3

PERF.34 TakeoffCraft: the snap index is built on the main thread when a sheet opens (7 to 8 s, 394 MB on a 300,000-segment sheet)

  • Fix
  • Planned
  • TakeoffCraft

snap.js:93 pageLinework plus SnapIndex runs at sheet open with snap on by default: a 7 to 8 s task, 9 s blocked and 394 MB on the dense 300k-segment sheet (MarkupCraft builds its equivalent in 549 ms). The grid itself is right. Change: build it in a worker from the page's operator list, or lazily on the first snap request, with the first sheet view not waiting for it.

Add a comment

Community comments

No comments yet

Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.

Sign in or create a free account to add a comment.