react-performance-observer
Get performance measurements from React Fiber
Install
yarn add --dev react-performance-observer
Usage
react-performance-observer
is a small abstraction over PerformanceObserver
which reports only the measurements that come from React and parses information
out of the name (See ReactDebugFiberPerf).
; ;
Or if you want to create your own PerformanceObserver
you can use just the
parseEntry()
method.
; let observer = { list;};
This code was largely based on react-perf-devtool by @nitin42.