Simple project
Complex project
Node.js Runtime
Bun Runtime
Deno Runtime
Comparison of JavaScript Bundlers (Simple project)
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.
Dependencies
0
Average CPU
105.3%
Average RAM
98.11 MB
Average Time
0.26 s
Developed with
Go
farm v1.0.4Dependencies
8
Average CPU
141.4%
Average RAM
295.76 MB
Average Time
1.22 s
Developed with
parcel v2.16.4Dependencies
17
Average CPU
135.5%
Average RAM
205.33 MB
Average Time
1 s
Developed with
JavaScriptDependencies
24
Average CPU
105.9%
Average RAM
187.44 MB
Average Time
0.37 s
Developed with
Dependencies
89
Average CPU
192.8%
Average RAM
398.63 MB
Average Time
7.89 s
Developed with
JavaScriptDependencies
16
Average CPU
198.4%
Average RAM
324.69 MB
Average Time
2.81 s
Developed with
Dependencies
117
Average CPU
197.8%
Average RAM
285.93 MB
Average Time
3.3 s
Developed with
JavaScriptComparison
Show as chartCPU
RAM
Time
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| RAM | CPU | Seconds |
|---|---|---|
| 98.11 MB | 105% | 0:00.27 |
| 97.20 MB | 105% | 0:00.26 |
| 98.50 MB | 106% | 0:00.27 |
| 98.40 MB | 105% | 0:00.26 |
| 98.25 MB | 105% | 0:00.27 |
| 98.38 MB | 106% | 0:00.26 |
| 97.24 MB | 106% | 0:00.26 |
| 98.33 MB | 105% | 0:00.26 |
| 98.26 MB | 105% | 0:00.26 |
| 98.38 MB | 105% | 0:00.27 |
farm v1.0.4
8 dependencies
Command:
farm build --config bundler-configs/farm.config.js| RAM | CPU | Seconds |
|---|---|---|
| 356.53 MB | 139% | 0:01.62 |
| 302.98 MB | 142% | 0:01.21 |
| 305.71 MB | 141% | 0:01.18 |
| 272.90 MB | 143% | 0:01.16 |
| 303.01 MB | 141% | 0:01.19 |
| 271.25 MB | 141% | 0:01.19 |
| 304.81 MB | 143% | 0:01.19 |
| 266.63 MB | 140% | 0:01.16 |
| 273.45 MB | 142% | 0:01.17 |
| 300.33 MB | 142% | 0:01.17 |
parcel v2.16.4
17 dependencies
Command:
parcel build| RAM | CPU | Seconds |
|---|---|---|
| 323.23 MB | 123% | 0:01.54 |
| 190.72 MB | 136% | 0:00.94 |
| 190.08 MB | 135% | 0:00.95 |
| 194.04 MB | 138% | 0:00.91 |
| 193.25 MB | 137% | 0:00.94 |
| 190.34 MB | 137% | 0:00.95 |
| 192.62 MB | 138% | 0:00.94 |
| 193.47 MB | 138% | 0:00.92 |
| 194.76 MB | 138% | 0:00.94 |
| 190.79 MB | 135% | 0:00.95 |
rolldown v1.2.15
24 dependencies
Command:
rolldown -c bundler-configs/rolldown.config.mjs| RAM | CPU | Seconds |
|---|---|---|
| 177.55 MB | 103% | 0:00.39 |
| 174.85 MB | 107% | 0:00.37 |
| 187.52 MB | 105% | 0:00.39 |
| 183.47 MB | 106% | 0:00.37 |
| 193.43 MB | 107% | 0:00.37 |
| 201.43 MB | 107% | 0:00.37 |
| 188.87 MB | 105% | 0:00.36 |
| 193.08 MB | 106% | 0:00.37 |
| 189.23 MB | 107% | 0:00.37 |
| 185.02 MB | 106% | 0:00.36 |
rollup v4.66.0
89 dependencies
Command:
rollup -c bundler-configs/rollup.config.mjs| RAM | CPU | Seconds |
|---|---|---|
| 410.74 MB | 194% | 0:07.83 |
| 364.48 MB | 193% | 0:07.71 |
| 407.02 MB | 191% | 0:08.14 |
| 410.60 MB | 193% | 0:07.93 |
| 414.77 MB | 194% | 0:07.82 |
| 414.12 MB | 193% | 0:07.84 |
| 410.49 MB | 193% | 0:07.95 |
| 365.78 MB | 192% | 0:07.91 |
| 417.95 MB | 193% | 0:07.84 |
| 370.31 MB | 192% | 0:07.89 |
rspack v1.7.12
16 dependencies
Command:
rspack build --config bundler-configs/rspack.config.js| RAM | CPU | Seconds |
|---|---|---|
| 325.40 MB | 197% | 0:02.79 |
| 321.10 MB | 200% | 0:02.79 |
| 331.24 MB | 200% | 0:02.76 |
| 326.16 MB | 199% | 0:02.80 |
| 327.95 MB | 200% | 0:02.77 |
| 320.61 MB | 197% | 0:02.90 |
| 314.44 MB | 197% | 0:02.87 |
| 323.37 MB | 198% | 0:02.80 |
| 331.48 MB | 198% | 0:02.81 |
| 325.11 MB | 198% | 0:02.80 |
webpack v5.112.2
117 dependencies
Command:
webpack --config bundler-configs/webpack.config.js| RAM | CPU | Seconds |
|---|---|---|
| 283.20 MB | 186% | 0:03.77 |
| 288.46 MB | 199% | 0:03.26 |
| 283.47 MB | 199% | 0:03.25 |
| 285.73 MB | 199% | 0:03.30 |
| 285.26 MB | 198% | 0:03.32 |
| 287.38 MB | 198% | 0:03.25 |
| 285.08 MB | 200% | 0:03.22 |
| 286.47 MB | 198% | 0:03.25 |
| 287.14 MB | 200% | 0:03.21 |
| 287.08 MB | 201% | 0:03.19 |
Architecture Comparison
| JavaScript-based Bundlers | Native-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
Lowest Memory Ceiling
98.11 MB
Lightest Dependency Footprint
0 packages
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 like
esbuild) 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.