npm-webpack-profiling

  • npm-calling-npm: what happens when you use npm run in the scripts section?
  • webpack-heap-profiling: small example to show how to profile webpack memory usage using the heap-sampling-webpack-plugin
  • webpack-my-app: create-react-app with TypeScript and an updated webpack configuration to show how to profile webpack memory usage using the heap-sampling-webpack-plugin and how it can differ based on which options are enabled for webpack

Heap Sampling Webpack Plugin

This is a plugin that provides heap memory profiling. This is in contrast to Webpack's ProfilingPlugin which provides CPU timings.

Webpack Profiling Plugin

This is a plugin that generates a JSON file that can be loaded into Chrome Dev Tools to profile event timings. It is included with webpack.