Avatar for the webpack user
webpack
tapable
BlogDocsChangelog

fix(perf): improve

#224Merged
Comparing
fix-perf-improve
(
a59b5e2
) with
main
(
4e24645
)
CodSpeed Performance Gauge
×5
Improvement
8
Untouched
84

Benchmarks

92 total
multi-hook: isUsed (3 hooks, 5 taps)
benchmark/cases/multi-hook/index.bench.mjs
CodSpeed Performance Gauge
×5
184.1 µs36.6 µs
hook-compile: SyncWaterfallHook, 5 taps + first call
benchmark/cases/hook-compile/index.bench.mjs
CodSpeed Performance Gauge
×4.8
760.6 µs157.1 µs
interceptors-sync: register interceptor + 10 tap registrations
benchmark/cases/interceptors-sync/index.bench.mjs
CodSpeed Performance Gauge
+95%
80.1 µs41.1 µs
tap-registration: SyncHook tap x 10, string options
benchmark/cases/tap-registration/index.bench.mjs
CodSpeed Performance Gauge
+32%
45 µs34 µs
multi-hook: intercept across 3 hooks
benchmark/cases/multi-hook/index.bench.mjs
CodSpeed Performance Gauge
+23%
61.3 µs49.7 µs
tap-registration: AsyncSeriesHook tapPromise x 10
benchmark/cases/tap-registration/index.bench.mjs
CodSpeed Performance Gauge
+22%
49.5 µs40.4 µs
tap-registration: AsyncSeriesHook tapAsync x 10
benchmark/cases/tap-registration/index.bench.mjs
CodSpeed Performance Gauge
+20%
54.5 µs45.3 µs
tap-registration: SyncHook tap x 10, object options
benchmark/cases/tap-registration/index.bench.mjs
CodSpeed Performance Gauge
+19%
44.9 µs37.8 µs
multi-hook: tap x 10 across 3 hooks
benchmark/cases/multi-hook/index.bench.mjs
CodSpeed Performance Gauge
+7%
62.4 µs58.4 µs
tap-registration: SyncHook tap x 10, alternating before
benchmark/cases/tap-registration/index.bench.mjs
CodSpeed Performance Gauge
+1%
97.8 µs97.3 µs
async-series-hook: callAsync, 5 promise taps
benchmark/cases/async-series-hook/index.bench.mjs
CodSpeed Performance Gauge
0%
759.7 µs758.6 µs
sync-loop-hook: 10 taps, 0 reloops
benchmark/cases/sync-loop-hook/index.bench.mjs
CodSpeed Performance Gauge
0%
99.5 µs99.4 µs
interceptors-sync: 5 taps, call + tap interceptor
benchmark/cases/interceptors-sync/index.bench.mjs
CodSpeed Performance Gauge
0%
40.1 µs40.1 µs
interceptors-async: series, 5 sync taps, no interceptors
benchmark/cases/interceptors-async/index.bench.mjs
CodSpeed Performance Gauge
0%
54.8 µs54.8 µs
interceptors-async: series, 5 sync taps, call interceptor
benchmark/cases/interceptors-async/index.bench.mjs
CodSpeed Performance Gauge
0%
55.6 µs55.6 µs
interceptors-async: parallel, 5 async taps, call + tap interceptor
benchmark/cases/interceptors-async/index.bench.mjs
CodSpeed Performance Gauge
0%
140.8 µs140.7 µs
hook-map: for(new key) x 10, 1 interceptor
benchmark/cases/hook-map/index.bench.mjs
CodSpeed Performance Gauge
0%
50.8 µs50.8 µs
sync-hook: call with 10 taps
benchmark/cases/sync-hook/index.bench.mjs
CodSpeed Performance Gauge
0%
139.3 µs139.3 µs
async-series-waterfall-hook: 5 promise taps
benchmark/cases/async-series-waterfall-hook/index.bench.mjs
CodSpeed Performance Gauge
0%
756.6 µs756.6 µs
sync-hook: call with 50 taps
benchmark/cases/sync-hook/index.bench.mjs
CodSpeed Performance Gauge
0%
6.3 ms6.3 ms
sync-waterfall-hook: 50 taps, all return
benchmark/cases/sync-waterfall-hook/index.bench.mjs
CodSpeed Performance Gauge
0%
4.9 ms4.9 ms
sync-bail-hook: 10 taps, bail at index 9
benchmark/cases/sync-bail-hook/index.bench.mjs
CodSpeed Performance Gauge
0%
410.4 µs410.4 µs
sync-bail-hook: 20 taps, no bail
benchmark/cases/sync-bail-hook/index.bench.mjs
CodSpeed Performance Gauge
0%
140.8 µs140.8 µs
sync-bail-hook: 5 taps, no bail
benchmark/cases/sync-bail-hook/index.bench.mjs
CodSpeed Performance Gauge
0%
90.1 µs90.1 µs
async-series-hook: callAsync, 20 async taps
benchmark/cases/async-series-hook/index.bench.mjs
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms

Commits

Click on a commit to change the comparison range
Base
main
4e24645
-40.99%
fix(perf): improve
c882a64
22 hours ago
by alexander-akait
×5.4
refactor: fix
b6cf176
22 hours ago
by alexander-akait
-0.02%
refactor: small
a59b5e2
22 hours ago
by alexander-akait
© 2026 CodSpeed Technology
Home Terms Privacy Docs