webpack icon indicating copy to clipboard operation
webpack copied to clipboard

refactor: parallel benchmarks

Open hai-x opened this issue 5 months ago • 2 comments

hai-x avatar Aug 10 '25 14:08 hai-x

CodSpeed Performance Report

Merging #19780 will degrade performances by 41.35%

Comparing worker-benchmark (433cc40) with main (7e7af04)

Summary

⚡ 1 improvement
❌ 5 regressions
✅ 63 untouched

:warning: Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
benchmark "cache-filesystem", scenario '{"name":"mode-development","mode":"development"}' 1.2 s 1.9 s -37.16%
benchmark "cache-filesystem", scenario '{"name":"mode-production","mode":"production"}' 888.7 ms 1,388.6 ms -36%
benchmark "devtool-source-map", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 39.3 ms 67.1 ms -41.35%
benchmark "future-defaults", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 38.6 ms 48.7 ms -20.71%
benchmark "lodash", scenario '{"name":"mode-development","mode":"development"}' 524.6 ms 419.1 ms +25.15%
benchmark "many-modules-commonjs", scenario '{"name":"mode-development-rebuild","mode":"development","watch":true}' 39.7 ms 59.9 ms -33.74%

codspeed-hq[bot] avatar Aug 10 '25 16:08 codspeed-hq[bot]

This PR is packaged and the instant preview is available (https://github.com/webpack/webpack/commit/433cc40a288c2736f0354c1fd2cdd7e029655c85).

Install it locally:

  • npm
npm i -D https://pkg.pr.new/webpack@433cc40
  • yarn
yarn add -D https://pkg.pr.new/webpack@433cc40
  • pnpm
pnpm add -D https://pkg.pr.new/webpack@433cc40

github-actions[bot] avatar Nov 11 '25 17:11 github-actions[bot]