Closed maxyinger closed 2 years ago
Recording of Interaction https://user-images.githubusercontent.com/35983235/163421161-d03134d9-8ce1-4f77-b393-da6e59f73cab.mp4
Note
This video was taken on the perf-sidebar
branch with react in the development build. Recorded the video on a 16" macbook pro m1 which is why the performance appears to be faster than the perf-sidebar
dev build screenshot below (which was recorded on a 13" macbook pro with intel chip)
1d5c7228e | perf-sidebar |
---|---|
~320ms | ~70ms |
1d5c7228e | perf-sidebar |
---|---|
~110ms | ~35ms |
Recording of Interaction
Note
This video was taken on the perf-sidebar
branch with react in the development build. Recorded the video on a 16" macbook pro m1 which is why the performance appears to be faster than the perf-sidebar
dev build screenshot below (which was recorded on a 13" macbook pro with intel chip)
Drag Start | 1d5c7228e | perf-sidebar |
---|---|---|
~150ms | ~55ms | |
Drag End | 1d5c7228e | perf-sidebar |
---|---|---|
~585ms | ~140ms | |
Drag Start | 1d5c7228e | perf-sidebar |
---|---|---|
~50ms | ~30ms | |
Drag End | 1d5c7228e | perf-sidebar |
---|---|---|
~195ms | ~95ms | |
Recording of Interaction https://user-images.githubusercontent.com/35983235/163426028-56d1e544-1710-46e1-a9f6-9e783b6aa84c.mp4
Note
This video was taken on the perf-sidebar
branch with react in the development build. Recorded the video on a 16" macbook pro m1 which is why the performance appears to be faster than the perf-sidebar
dev build screenshot below (which was recorded on a 13" macbook pro with intel chip)
1d5c7228e | perf-sidebar |
---|---|
~410ms | ~65ms |
1d5c7228e | perf-sidebar |
---|---|
~120ms | ~30ms |
Performance Report April 2022
This is a performance report covering progress in the editor from prior to performance work starting to the current state of editor performance. This is comparing branches main at hash
1d5c7228e
to branchperf-sidebar
from latest perf PREnvironment
Interaction tests run on a fully specced 2018 13" Macbook Pro on this test story which consists of 1 page with 50 square shape elements, each with a bounce animation, media pane open and layers panel expanded.
Each test interaction will document the main thread of 4 different builds:
1d5c7228e
React development build1d5c7228e
React production buildperf-sidebar
React development buildperf-sidebar
React production buildDevelopment builds are used to compare progress with last performance report #10158, whereas production builds are used to document approximate user experience progress. We are omitting the React flame graphs for now since the main focus here is user facing performance differences rather than how the interactions became more performant internally. Happy to document and add in React flame graphs adhoc if requested though.
TODO
[x] ~possible performance documentation on canvas generation cache improvements~ this is hard to clearly document, but with the new setup, we are hitting the cache more which should save us some ~1s calls to convert a story page to a canvs
TLDR
The most applicable metric to gauge user interaction is the time the interaction took in the react production build, because that's the build shipped to our users. Here's a small table highlighting the current performance increases for those interactions. Each interaction is elaborated on below with comments in this thread.
Make note that we are officially under 100ms for all of these which is the bar Google sets for the Interaction section of the RAIL model:
Fixes #11120