Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cpuprofile-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cpuprofile-webpack-plugin

cpuprofile-webpack-plugin

  • 1.10.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
69
increased by97.14%
Maintainers
1
Weekly downloads
 
Created
Source

cpuprofile-webpack-plugin

Generate a cpuprofile for your webpack builds
The profile can be imported into GoogleChrome Dev Tools.

In addition a flame graph representation is generated: Flame Graph Example

⚠️ Warning ⚠️

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!

Usage

cli

webpack --plugin cpuprofile-webpack-plugin

dev-server

webpack-dev-server --plugin cpuprofile-webpack-plugin

webpack.config.js

const CpuProfilerWebpackPlugin = require('cpuprofile-webpack-plugin');

module.exports = {
  plugins: [
    new CpuProfilerWebpackPlugin()
  ]
}

Example

Example Profile (6MB)

FAQs

Package last updated on 15 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc