Repository navigation
v0.6.0 — The Performance Update
Large boards were slow. This release comes from profiling a real one, fixing what the recording showed, and recording again. The page now spends a fraction of the time busy, the long freezes are gone, and far less is downloaded just by looking at a board.
What was wrong, and what changed
The freeze. Every generator node asked the canvas engine to re-measure its connection handles when it appeared on screen. That forces the browser to recompute the layout of the whole page — and on a big board, nodes appear on screen constantly as you pan. This was the single largest cause of the page locking up. It now only happens when a node's model actually changes, which is what it was for.
Saves fighting each other. The "save when the tab closes" safeguard was firing on every drag movement instead of only on close, so many full-canvas saves could be in flight at once, drowning the real one and everything else on the network. Fixed.
Videos loading themselves. Every video node on the board was pulling most of its file just by being visible — "load metadata" sounds cheap, but browsers keep reading an mp4 until they find its index. Video nodes now show a poster frame and fetch nothing until you press play.
Canvas loading. The canvas route ran two schema statements on every load and save. Cached now; loading a large board no longer waits on them.
Smaller saves. Video poster frames used to be stored inside the canvas itself, which made autosaves on a large board very heavy. They're stored as files now and saves are a fraction of the size. Existing boards migrate themselves.
Also in this release
- Closing a tab with unsaved changes now prompts you, so a save can't be lost mid-flight.
- Save failures show their reason instead of a bare "Unsaved".