You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Increased iterations from 1 to 10 for more realistic results, in line with the spirit of the performance codelab.
- Updated the measure block to only include frames from scrolling, removing: 1) frames from the cold startup of the activity and 2) frames from the initial faked load delay of 500 ms.
- Added a warmup iteration that triggers loading of images.
- The 500 ms wait wasn't enough for the drag to settle, so we were potentially starting the second drag before the first had settled, and then ending the measure too early. Bumped the wait to 1000 ms, traces now show a clear ~200 ms gaps with no frames.
Copy file name to clipboardExpand all lines: PerformanceCodelab/measure/src/main/java/com/compose/performance/measure/AccelerateHeavyScreenBenchmark.kt
0 commit comments