Repository navigation
v2.3.1
CocoaPods: this version is available from the Middleware specs repo. Add it as a source in your Podfile, as described there.
Changed
slowRendersspans now carryframe.max_duration_ms, the longest frame in that
report.
Fixed
- A frame now has to miss a vsync to count as slow, measured against the display's
actual frame time. The old fixed 16.7ms was about one normal frame at 60Hz, and in
Low Power Mode every frame counted. Slow-render totals may drop after upgrading.
slowFrameDetectionThresholdMsremains a minimum. - Calling
build()more than once in a process no longer starts everything again.
A React Native JS reload or Flutter hot restart used to add a second slow-rendering
detector, doubling everyslowRendersandfrozenRendersspan, and re-registered
crash reporting and other instrumentation. A repeatbuild()now only updates
global attributes and the deployment environment, and logs a warning. slowRendersandfrozenRendersnow report the screen that was showing when the
frame was slow.activity.nameused to be fixed at startup, usuallyunknown.- Slow-frame spans are now reported when
build()is called off the main thread, and
while the user is scrolling.