react-memory-stats
This plugin is based on Paul Irish's memory-stats.
Install
npm install react-memory-stats --save
--enable-precise-memory-info
Start Chrome with # Linux
google-chrome --enable-precise-memory-info --enable-memory-info
#MacOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --enable-precise-memory-info --enable-memory-info
Otherwise the results from performance.memory are bucketed and less useful.
Add the module to your react's dependencies
var MemoryStatsComponent = ;...{ return <MemoryStatsComponent enabled=true/> ;}
Contribute
npm install
npm run build