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
{{ message }}
Repository navigation
Commit e71fb78
Browse filesBrowse the repository at this point in the historyBrowse files
Spend the time before a traversal only in the frame after the one measured
With disableIdleMountItemFrameCallbackRearmAndroid on, the frame callback
stops re-arming once nothing is left to mount, and the sleep a slice had
measured after the last frame waited for the next burst's first frame,
which spent it before its traversal however many vsyncs had passed. The
measured time now lapses once a frame interval has passed since it was
measured, so only the frame right after the measured one spends it.
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/main/java/com/facebook/react/fabric/mounting/PreMountItemsBetweenFrames.kt
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/test/java/com/facebook/react/fabric/mounting/PreMountItemsBetweenFramesTest.kt
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -390,6 +390,27 @@ class PreMountItemsBetweenFramesTest {
0 commit comments