-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommit_msg.txt
More file actions
6 lines (5 loc) Β· 875 Bytes
/
commit_msg.txt
File metadata and controls
6 lines (5 loc) Β· 875 Bytes
1
2
3
4
5
6
Dev, PN/Corax CoLAB: [performance improvement]
π‘ What: Implemented debounce and throttle utilities for high-frequency window events (`resize`, `scroll`, `mousemove`), optimized Web Worker memory allocation (`Float32Array`), and added `aria-label` accessibility attributes to buttons.
π― Why: High-frequency DOM events cause massive main thread blocking during user interactions. Repeated large array instantiations in the Web Worker affect garbage collection. Buttons missing `aria-label` hurt screen reader accessibility.
π Impact: Considerably reduces layout thrashing, ensures smooth 60fps scrolling and resizing, improves Web Worker memory performance, and enhances compliance with accessibility standards.
π¬ Measurement: Verified via e2e Playwright tests. Smooth animations during resize and scroll, and proper `aria-label` reporting in accessibility trees.