Repository navigation
Clack v0.1.0-alpha.98
Pre-release
Pre-release
·
239 commits
to main
since this release
What's new in v0.1.0-alpha.98
- The last rare scroll hitch with plugins is gone. Each time a plugin's JavaScript needed more memory, its engine copied all of its memory to a bigger block, one long step the rest of the app had to wait for, and it left hundreds of megabytes of garbage behind. The engine now reserves its address space once and grows in place. Per frame it allocates 63% less, near the memory limit it collects garbage four times less often, and growing by 512 MB now pauses the app for 5 ms instead of 869 ms on an Apple Silicon Mac.
- JSON.parse on long non-ASCII text no longer pauses the app. A plugin parsing tens of megabytes of accented or emoji-heavy JSON used to hold everything for up to 670 ms; it's now under 1 ms.
- Freeze reports carry a trace of the last 5 seconds (Help > Troubleshooting > Show Freeze Reports), so the cause of a stall can be read with
go tool trace. It costs nothing measurable;CLACK_FLIGHT_RECORDER=0turns it off.
Full Changelog: v0.1.0-alpha.97...v0.1.0-alpha.98