Re:React Spreadsheet 2 – Your Own Google Sheets
by mklepaczewski on Friday November 24, 2023 @06:44PM
(#38409648)
Interesting. Can you elaborate how you measure performance? What's perfoemance? Framer ate, cpu/gpu usage, mem, scroll speed?
[ Parent
| on HN ]
Re:React Spreadsheet 2 – Your Own Google Sheets
by rowsncolumns on Saturday November 25, 2023 @05:57AM
(#38412718)
There are quite a few methods to measure performance
We start of with the FPS monitoring tool which measure the frame rate, memory consumption and GPU sange
We switch to devtools->Performance analysis to measure function call times, layout thrashes and shifts, RAF bottleneck, memory consumption and CPU time.
We also use React devtools to measure re-rendering.
Scrolling is wrapped in Request animation frame loop, hence its being controlled by the browsers frame rate.