โก Saving Canvas Dashboard edits is now much faster, especially after heavy editing
We've shipped a performance improvement that makes saving edits on Canvas Dashboards significantly faster (often 2x faster), especially when youโve made lots of changes in one editing session.
โ๏ธ What we changed (how we got the speedup)โ
๐ข Before (slower path)โ
- We tracked individual user actions during an edit session.
- Then we generated update code for each action (delete, resize, move, edit, etc.).
- With lots of interactions, that meant lots of processing โ time-consuming at Save.
โก After (faster path)โ
- Instead of caring about every single action, we now compare the dashboard version "before edit session" and "when user clicks save"
- We then generate the update code once, based on the final difference.
- Result: much less work during Save, and a noticeably faster saving experience, especially for โheavy editโ sessions.