https://github.com/rudolfolah/npm-webpack-profiling
https://github.com/rudolfolah/npm-webpack-profiling
npm profiling webpack webpack-profiling
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rudolfolah/npm-webpack-profiling
- Owner: rudolfolah
- Created: 2023-11-19T15:36:02.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-11-23T23:14:40.000Z (over 2 years ago)
- Last Synced: 2025-06-01T03:02:46.750Z (about 1 year ago)
- Topics: npm, profiling, webpack, webpack-profiling
- Language: HTML
- Homepage:
- Size: 1.32 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# npm-webpack-profiling
* [npm-calling-npm](./npm-calling-npm/): what happens when you use `npm run` in the `scripts` section?
* [webpack-heap-profiling](./webpack-heap-profiling/): small example to show how to profile webpack memory usage using the `heap-sampling-webpack-plugin`
* [webpack-my-app](./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](https://webpack.js.org/plugins/profiling-plugin/) which provides CPU timings.
* The source code for heap-sampling-webpack-plugin: https://github.com/kenotron/heap-sampling-webpack-plugin
* The npm package for heap-sampling-webpack-plugin: https://www.npmjs.com/package/heap-sampling-webpack-plugin
## 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.](https://webpack.js.org/plugins/profiling-plugin/)