Generate a cpuprofile for your webpack builds
The profile can be imported into GoogleChrome Dev Tools.
In addition a flame graph representation is generated:
This library is a work in progress, use at your own risk. But feel free to help out where you see bugs or incomplete things!
webpack --plugin cpuprofile-webpack-plugin
webpack-dev-server --plugin cpuprofile-webpack-plugin
const CpuProfilerWebpackPlugin = require('cpuprofile-webpack-plugin');
module.exports = {
plugins: [
new CpuProfilerWebpackPlugin()
]
}