The following shows the result of bundling the following versions
with the following bundlers
- esbuild
- parcel
- webpack
- purs bundle (v0.14.5 only)
in the following configurations
- non-optimized
- optimized (minified)
- gzipped
Build the purescript branches and store them to ~/.local/bin/{pure-all|pure-ctors|pure-none}/purs
.
Branch bundle-challenge, run bundle.sh
.
The output bundles can be seen here.
➜ exa -lah --no-user --no-time --no-permissions -R bundles/
Size Name
- esbuild
- parcel
- purs
- webpack
bundles/esbuild:
Size Name
- pure-all
- pure-ctors
- pure-none
- v0.14.5
bundles/esbuild/pure-all:
Size Name
271k index.js
40k index.js.gz
113k index.minified.js
24k index.minified.js.gz
bundles/esbuild/pure-ctors:
Size Name
427k index.js
60k index.js.gz
178k index.minified.js
36k index.minified.js.gz
bundles/esbuild/pure-none:
Size Name
582k index.js
80k index.js.gz
259k index.minified.js
49k index.minified.js.gz
bundles/esbuild/v0.14.5:
Size Name
259k index.js
36k index.js.gz
113k index.minified.js
25k index.minified.js.gz
bundles/parcel:
Size Name
- pure-all
- pure-ctors
- pure-none
- v0.14.5
bundles/parcel/pure-all:
Size Name
155k index.2304616d.js
30k index.2304616d.js.gz
2.0M index.fc5e18cc.js
229k index.fc5e18cc.js.gz
166 index.html
bundles/parcel/pure-ctors:
Size Name
156k index.07601cbb.js
30k index.07601cbb.js.gz
2.0M index.1a037f39.js
229k index.1a037f39.js.gz
166 index.html
bundles/parcel/pure-none:
Size Name
243k index.61a85490.js
43k index.61a85490.js.gz
2.0M index.70c415b0.js
234k index.70c415b0.js.gz
166 index.html
bundles/parcel/v0.14.5:
Size Name
109k index.cjs.4c13a45e.js
23k index.cjs.4c13a45e.js.gz
290k index.cjs.19e88ac9.js
40k index.cjs.19e88ac9.js.gz
156 index.cjs.html
bundles/purs:
Size Name
172 index.cjs.html
280k index.js
40k index.js.gz
bundles/webpack:
Size Name
- pure-all
- pure-ctors
- pure-none
- v0.14.5
bundles/webpack/pure-all:
Size Name
2.9M index.js
256k index.js.gz
91k index.minified.js
19k index.minified.js.gz
bundles/webpack/pure-ctors:
Size Name
2.9M index.js
256k index.js.gz
135k index.minified.js
26k index.minified.js.gz
bundles/webpack/pure-none:
Size Name
2.9M index.js
262k index.js.gz
232k index.minified.js
41k index.minified.js.gz
bundles/webpack/v0.14.5:
Size Name
292k index.js
41k index.js.gz
110k index.minified.js
23k index.minified.js.gz
(base)
Branch bundle-challenge, run bundle.sh
.
The output bundles can be seen here.
➜ exa -lah --no-user --no-time --no-permissions -R bundles/
Size Name
- esbuild
- parcel
- purs
- webpack
bundles/esbuild:
Size Name
- pure-all
- pure-ctors
- pure-none
- v0.14.5
bundles/esbuild/pure-all:
Size Name
377k index.js
56k index.js.gz
158k index.minified.js
34k index.minified.js.gz
bundles/esbuild/pure-ctors:
Size Name
558k index.js
82k index.js.gz
235k index.minified.js
49k index.minified.js.gz
bundles/esbuild/pure-none:
Size Name
714k index.js
102k index.js.gz
319k index.minified.js
63k index.minified.js.gz
bundles/esbuild/v0.14.5:
Size Name
401k index.js
55k index.js.gz
176k index.minified.js
39k index.minified.js.gz
bundles/parcel:
Size Name
- pure-all
- pure-ctors
- pure-none
- v0.14.5
bundles/parcel/pure-all:
Size Name
2.2M index.527ec9ac.js
267k index.527ec9ac.js.gz
208k index.93319402.js
41k index.93319402.js.gz
166 index.html
bundles/parcel/pure-ctors:
Size Name
209k index.9cedf69a.js
42k index.9cedf69a.js.gz
2.3M index.3818ba69.js
267k index.3818ba69.js.gz
166 index.html
bundles/parcel/pure-none:
Size Name
299k index.9bf7c497.js
55k index.9bf7c497.js.gz
2.3M index.55a2b982.js
272k index.55a2b982.js.gz
166 index.html
bundles/parcel/v0.14.5:
Size Name
442k index.cjs.4ab47f98.js
60k index.cjs.4ab47f98.js.gz
169k index.cjs.b4c9392d.js
35k index.cjs.b4c9392d.js.gz
156 index.cjs.html
bundles/purs:
Size Name
172 index.cjs.html
432k index.js
60k index.js.gz
bundles/webpack:
Size Name
- pure-all
- pure-ctors
- pure-none
- v0.14.5
bundles/webpack/pure-all:
Size Name
3.3M index.js
298k index.js.gz
132k index.minified.js
28k index.minified.js.gz
bundles/webpack/pure-ctors:
Size Name
3.3M index.js
297k index.js.gz
186k index.minified.js
37k index.minified.js.gz
bundles/webpack/pure-none:
Size Name
3.4M index.js
304k index.js.gz
286k index.minified.js
53k index.minified.js.gz
bundles/webpack/v0.14.5:
Size Name
449k index.js
61k index.js.gz
171k index.minified.js
35k index.minified.js.gz