flipper-plugin-performance

5.0.0 • Public • Published

Flipper Performance Plugin

This is a plugin for the debug tool Flipper that provides a UI for visualizing performance tracing on a timeline and generic metrics.

It can be used as a generic profiler, or used together with the react-native-performance library, where the react-native-performance-flipper-reporter acts as the middleman transforming and filtering the data collected into something suitable for visualization.

Setup

Flipper Desktop

  1. Go to Manage Plugins by pressing the button in the lower left corner of the Flipper app, or in the View menu
  2. Select Install Plugins and search for flipper-plugin-performance
  3. Press the Install button

Optional: React Native Performance

Install dependencies

yarn add react-native-performance react-native-flipper react-native-performance-flipper-reporter

Enable integration

// index.js
if (__DEV__) {
  require('react-native-performance-flipper-reporter').setupDefaultFlipperReporter();
}

License

MIT © Joel Arvidsson 2021 – present

Package Sidebar

Install

npm i flipper-plugin-performance

Weekly Downloads

62

Version

5.0.0

License

MIT

Unpacked Size

32.5 kB

Total Files

19

Last publish

Collaborators

  • oblador