Home

Awesome

Build Status Coverage Status License: MIT

Measure React rendering lifecycles using controls using a simple component


<img src="https://img4.hostingpics.net/pics/549535badperfs.gif" />

Installation

$ yarn add -D rn-render-perfs

In your code

import RnRenderPerfs from 'rn-render-perfs';
import Perf from 'ReactPerf';

export default function App() {
  return (
      <View>
        <YourApp />
        <RnRenderPerfs monitor={Perf} />
      </View>
  );
};

You can pass any kind of Perf module inside monitor props that implements :

What can I expect from this module ?

This module is a simple wrapper allowing to call Perf modules using the same API as the react-addons-perfs one.

With the previous code example, you can access to these information (from react-addons-perfs doc) :


With the help of @flepretre & @kennydee