Socket
Book a DemoInstallSign in
Socket

flipper-plugin-performance

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flipper-plugin-performance

Inspect React Native performance with Flipper

latest
Source
npmnpm
Version
5.0.0
Version published
Maintainers
1
Created
Source

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

  • Go to Manage Plugins by pressing the button in the lower left corner of the Flipper app, or in the View menu
  • Select Install Plugins and search for flipper-plugin-performance
  • 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

Keywords

react-native

FAQs

Package last updated on 24 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts