Giter Site home page Giter Site logo

eps1lon / react-native-performance Goto Github PK

View Code? Open in Web Editor NEW

This project forked from oblador/react-native-performance

0.0 0.0 0.0 1.5 MB

Monitor and measure React Native performance

License: MIT License

JavaScript 21.95% Ruby 1.32% Objective-C 3.56% Java 17.60% TypeScript 46.68% Objective-C++ 8.88%

react-native-performance's Introduction

React Native Performance tooling

Toolchain to measure and monitor the performance of your React Native app in development, pipeline and in production.

Packages

react-native-performance

An implementation of the Performance API for React Native.

  • Integrates well with React.Profiler API
  • Trace arbitrary events in your app such as component render time
  • Capture network traffic
  • Collect native traces such as script execution and time to interactive of root view
  • Collect native metrics in development such as JS bundle size

flipper-plugin-performance

Visualize performance tracing on a timeline and generic metrics in the debug tool Flipper.

react-native-performance-flipper-reporter

Connect the react-native-performance library with the flipper-plugin-performance visualization tool in development.

isomorphic-performance

Isomorphic Performance API for Node, Browser & React Native. Useful if your app targets both web and native.

Demo

See the projects in the examples folder.

Development

Make sure to have yarn v1 installed and run yarn in the root folder to install dependencies for all packages.

Uninstall the Flipper Performance plugin if previously installed. Then edit your ~/.flipper/config.json to look something like this:

{
  "pluginPaths": ["/path/to/react-native-performance/packages"]
}

Continously compile the plugin as you edit with:

yarn workspace flipper-plugin-performance run watch

Run the example app with:

cd examples/vanilla
yarn start # important to run this before the next step!
yarn ios # or yarn android

Run the unit tests with:

yarn test

License

MIT ยฉ Joel Arvidsson 2019 โ€“ present

react-native-performance's People

Contributors

androideveloper avatar bekirc avatar dependabot[bot] avatar dlmr avatar ferossgp avatar nazrdogan avatar nikoant avatar oblador avatar opayen avatar simek avatar vivs-nitjsr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.