4 ms·
Interesting. Can you elaborate how you measure performance? What's perfoemance? Framer ate, cpu/gpu usage, mem, scroll speed?
by mklepaczewski 3y ago
Interesting. Can you elaborate how you measure performance? What's perfoemance? Framer ate, cpu/gpu usage, mem, scroll speed?
- rowsncolumns 3y agoThere 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.