Measuring

Performance

About me

Alexandre Moureaux

Tech Lead  @

Part of

60FPS: the Grail of Perf?

  • FAST enough for good perceived smoothness
     
  • Less perceived benefits in higher numbers
     
  • Frame rate should be constant

What

about
React Native

JS thread is important

RN Perf Monitor

Perf Monitor Flipper plugin

It might not fit all use cases

  • Your app might be running at 60fps but struggling to do so
  • What if you want to compare your app's performance with competitors?
  • What if you want to ensure no performance regression after a big rearchitecture (Fabric...)

Measuring CPU Usage

  • Easy to measure on Android
     
  • Completely objective
     
  • Directly correlates to RN performance
    • 0 JS FPS = 100% CPU Usage

 

Show Time

What's next

  • Objectively compare framework performance
     
  • e2e performance testing
     
  • Lighthouse for mobile apps is getting closer

Thank you!

:   

)   

RN London Meetup April 2022 - Performance

By Alexandre Moureaux

RN London Meetup April 2022 - Performance

  • 328