CRA Perf CLI | create-react-app-perf
Measures your create-react-app initial ReactDOM render time and displays it as a graph.
Prerequisites
Both the CLI and generated project have dependencies that require Node 6.9.0 or higher, together with NPM 3 or higher.
Currently tested and works on MacOS with Google Chrome.
Installation
Using yarn:
yarn global add create-react-app-perf
Using npm:
npm i -g create-react-app-perf
How to use
Simply use the create-react-app-perf
CLI inside the root directory of your create-react-app project. Run the create-react-app-perf measure
command to measure your main script performance.
For further questions check the help option:
create-react-app-perf -h
create-react-app-perf measure -h
License
MIT