|
|
|
|
|
by rowsncolumns
936 days ago
|
|
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. |
|