Skip to content

v2.3.1

Choose a tag to compare

@Archish27 Archish27 released this 03 Nov 11:31
· 17 commits to main since this release
515d504

CocoaPods: this version is available from the Middleware specs repo. Add it as a source in your Podfile, as described there.

Changed

  • slowRenders spans now carry frame.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.
    slowFrameDetectionThresholdMs remains 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 every slowRenders and frozenRenders span, and re-registered
    crash reporting and other instrumentation. A repeat build() now only updates
    global attributes and the deployment environment, and logs a warning.
  • slowRenders and frozenRenders now report the screen that was showing when the
    frame was slow. activity.name used to be fixed at startup, usually unknown.
  • Slow-frame spans are now reported when build() is called off the main thread, and
    while the user is scrolling.