Fork me on GitHub

Comparison of JavaScript Bundlers (Simple project)

Node.jsv24.22.3
RAM15Gi
CPU Cores4
On this page you will see the benchmarked JavaScript bundlers which are being launched towards a simple index.jsx and measured 10 times the execution time, memory used, and percentage of CPU. Github Runner is ubuntu-latest. This benchmark is automatically rebuilt when bundler dependencies are updated, so the results reflect current releases rather than a one-time benchmark.
esbuild logoesbuild v0.28.2
Dependencies
0
Average CPU
105.3%
Average RAM
98.11 MB
Average Time
0.26 s
Developed with
Go logoGo
farm logofarm v1.0.4
Dependencies
8
Average CPU
141.4%
Average RAM
295.76 MB
Average Time
1.22 s
Developed with
Rust logoRust
parcel logoparcel v2.16.4
Dependencies
17
Average CPU
135.5%
Average RAM
205.33 MB
Average Time
1 s
Developed with
JavaScript logoJavaScript
Rust logoRust
rolldown logorolldown v1.2.15
Dependencies
24
Average CPU
105.9%
Average RAM
187.44 MB
Average Time
0.37 s
Developed with
Rust logoRust
rollup logorollup v4.66.0
Dependencies
89
Average CPU
192.8%
Average RAM
398.63 MB
Average Time
7.89 s
Developed with
JavaScript logoJavaScript
rspack logorspack v1.7.12
Dependencies
16
Average CPU
198.4%
Average RAM
324.69 MB
Average Time
2.81 s
Developed with
Rust logoRust
webpack logowebpack v5.112.2
Dependencies
117
Average CPU
197.8%
Average RAM
285.93 MB
Average Time
3.3 s
Developed with
JavaScript logoJavaScript

Comparison

Show as chart

Benchmark Runs

esbuild v0.28.2
0 dependencies
Command: esbuild src/index.jsx --legal-comments=none --jsx=automatic --bundle --minify --outfile=dist/esbuild-bundle.js
RAMCPUSeconds
98.11 MB105%0:00.27
97.20 MB105%0:00.26
98.50 MB106%0:00.27
98.40 MB105%0:00.26
98.25 MB105%0:00.27
98.38 MB106%0:00.26
97.24 MB106%0:00.26
98.33 MB105%0:00.26
98.26 MB105%0:00.26
98.38 MB105%0:00.27
farm v1.0.4
8 dependencies
Command: farm build --config bundler-configs/farm.config.js
RAMCPUSeconds
356.53 MB139%0:01.62
302.98 MB142%0:01.21
305.71 MB141%0:01.18
272.90 MB143%0:01.16
303.01 MB141%0:01.19
271.25 MB141%0:01.19
304.81 MB143%0:01.19
266.63 MB140%0:01.16
273.45 MB142%0:01.17
300.33 MB142%0:01.17
parcel v2.16.4
17 dependencies
Command: parcel build
RAMCPUSeconds
323.23 MB123%0:01.54
190.72 MB136%0:00.94
190.08 MB135%0:00.95
194.04 MB138%0:00.91
193.25 MB137%0:00.94
190.34 MB137%0:00.95
192.62 MB138%0:00.94
193.47 MB138%0:00.92
194.76 MB138%0:00.94
190.79 MB135%0:00.95
rolldown v1.2.15
24 dependencies
Command: rolldown -c bundler-configs/rolldown.config.mjs
RAMCPUSeconds
177.55 MB103%0:00.39
174.85 MB107%0:00.37
187.52 MB105%0:00.39
183.47 MB106%0:00.37
193.43 MB107%0:00.37
201.43 MB107%0:00.37
188.87 MB105%0:00.36
193.08 MB106%0:00.37
189.23 MB107%0:00.37
185.02 MB106%0:00.36
rollup v4.66.0
89 dependencies
Command: rollup -c bundler-configs/rollup.config.mjs
RAMCPUSeconds
410.74 MB194%0:07.83
364.48 MB193%0:07.71
407.02 MB191%0:08.14
410.60 MB193%0:07.93
414.77 MB194%0:07.82
414.12 MB193%0:07.84
410.49 MB193%0:07.95
365.78 MB192%0:07.91
417.95 MB193%0:07.84
370.31 MB192%0:07.89
rspack v1.7.12
16 dependencies
Command: rspack build --config bundler-configs/rspack.config.js
RAMCPUSeconds
325.40 MB197%0:02.79
321.10 MB200%0:02.79
331.24 MB200%0:02.76
326.16 MB199%0:02.80
327.95 MB200%0:02.77
320.61 MB197%0:02.90
314.44 MB197%0:02.87
323.37 MB198%0:02.80
331.48 MB198%0:02.81
325.11 MB198%0:02.80
webpack v5.112.2
117 dependencies
Command: webpack --config bundler-configs/webpack.config.js
RAMCPUSeconds
283.20 MB186%0:03.77
288.46 MB199%0:03.26
283.47 MB199%0:03.25
285.73 MB199%0:03.30
285.26 MB198%0:03.32
287.38 MB198%0:03.25
285.08 MB200%0:03.22
286.47 MB198%0:03.25
287.14 MB200%0:03.21
287.08 MB201%0:03.19

Architecture Comparison

JavaScript-based BundlersNative-based Bundlers
Use JavaScript-based when you have a legacy set of JavaScript modules which you need to integrate with.
The JavaScript approach allows you to edit or extend the bundler code easily beforehand, but this comes with an extra cost for the runtime overhead.
Extremely mature plugin ecosystems (e.g., Rollup/Webpack plugins) make it easy to find off-the-shelf solutions for niche build requirements.
Easier to run and configure in constrained environments or customized CI/CD pipelines without worrying about platform-specific binary compatibility.
Use native compiled bundlers when the performance is critical and you don't need to integrate with legacy systems.
Because the actual shipped bundler is a pre-compiled binary, it can be trickier to debug the internal bundler code itself compared to plain-text JavaScript.
Leverages multi-core processors efficiently via multithreading (written in languages like Rust or Go), drastically reducing build times on large codebases.
Eliminates the JavaScript runtime startup overhead and garbage collection pauses during massive compilation tasks.

📊 High-Level Run Summary & Insights

An objective, automated performance snapshot evaluating modern compilation strategies and native ecosystems under equal resource constraints.
Speed Champion (Avg Time)
0.26s
Driven by esbuild
Lowest Memory Ceiling
98.11 MB
Driven by esbuild
Lightest Dependency Footprint
0 packages
Driven by esbuild
Architectural Takeaway:
The current benchmark dataset highlights a clear evolutionary split in build-tooling infrastructures. Compiled systems engineered on native, multi-threaded foundations (such as Go and Rust implementations likeesbuild) maintain an immediate operational lead—drastically cutting cold compilation targets compared to single-threaded Node.js native pipelines, while running on tighter, highly efficient memory lifespans.