O'Reilly logo

Mastering React Native by Jacob Friedmann, Eric Masiello

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Performance

When we refer to the performance of a mobile application, especially one that is not written in the native language, what we are most often talking about is framerate. It is generally accepted that the human eye can process up to 60 still frames per second (fps). When a series of images is displayed at or above this upper limit, we perceive it as motion instead of discreet images. With this in mind, our goal when optimizing the performance of an application is to ensure that the framerate never or rarely dips below 60 fps.

The practical implications of this requirement are that any blocking computation must complete within 16.67 milliseconds (1,000 milliseconds per 60 fps). Whenever we do something computationally expensive, for instance, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required