Last active
July 9, 2019 15:23
-
-
Save nolanlawson/4ba818c772be3a56cb0039551598194c to your computer and use it in GitHub Desktop.
Updated "cost of small modules" benchmarks (30 October 2016)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 modules | ||||
---|---|---|---|---|
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 108.89 | 22.65 | 131.53 | |
browserify-collapsed | 152.89 | 23.82 | 176.71 | |
webpack | 150.33 | 18.05 | 168.38 | |
rollup | 129.54 | 7.73 | 137.27 | |
closure | 131.54 | 1.74 | 133.28 | |
rjs | 158.19 | 33.28 | 191.47 | |
rjs-almond | 160.03 | 7.35 | 167.38 | |
1000 modules | ||||
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 238.79 | 130.91 | 369.71 | |
browserify-collapsed | 266.65 | 124.69 | 391.35 | |
webpack | 205.46 | 137.39 | 342.86 | |
rollup | 138.48 | 23.29 | 161.77 | |
closure | 140 | 22.56 | 162.56 | |
rjs | 212.74 | 83.74 | 296.48 | |
rjs-almond | 238.44 | 29.44 | 267.88 | |
5000 modules | ||||
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 453.21 | 646.33 | 1099.55 | |
browserify-collapsed | 494.57 | 685.78 | 1180.34 | |
webpack | 324.73 | 506.01 | 830.74 | |
rollup | 153.87 | 130.63 | 284.49 | |
closure | 173.56 | 63.59 | 237.15 | |
rjs | 498.42 | 85.19 | 583.61 | |
rjs-almond | 441.93 | 150.71 | 592.64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 modules | ||||
---|---|---|---|---|
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 202.74 | 27.86 | 230.6 | |
browserify-collapsed | 167.96 | 60.17 | 228.13 | |
webpack | 181.78 | 17.93 | 199.71 | |
rollup | 152.64 | 11.64 | 164.28 | |
closure | 161.9 | 1.68 | 163.58 | |
rjs | 283.13 | 16.23 | 299.36 | |
rjs-almond | 211.31 | 12.89 | 224.21 | |
1000 modules | ||||
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 423.64 | 168.68 | 592.32 | |
browserify-collapsed | 398.88 | 144.35 | 543.24 | |
webpack | 254.56 | 176.56 | 431.13 | |
rollup | 195.37 | 35.77 | 231.14 | |
closure | 181 | 26.64 | 207.64 | |
rjs | 504.77 | 23.35 | 528.11 | |
rjs-almond | 415.46 | 23.83 | 439.3 | |
5000 modules | ||||
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 1118.78 | 691.04 | 1809.83 | |
browserify-collapsed | 1031.63 | 558.29 | 1589.92 | |
webpack | 729.2 | 476.45 | 1205.65 | |
rollup | 458.54 | 91.51 | 550.05 | |
closure | 320.08 | 62.22 | 382.3 | |
rjs | 1048.81 | 143.23 | 1192.04 | |
rjs-almond | 1049.46 | 134.47 | 1183.93 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 modules | ||||
---|---|---|---|---|
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 80.45 | 2.23 | 82.68 | |
browserify-collapsed | 80.43 | 2.27 | 82.7 | |
webpack | 79.97 | 1.42 | 81.39 | |
rollup | 78.3 | 0.53 | 78.83 | |
closure | 77.98 | 0.11 | 78.09 | |
rjs | 80.26 | 5.57 | 85.83 | |
rjs-almond | 80.72 | 0.71 | 81.43 | |
1000 modules | ||||
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 90 | 19.93 | 109.92 | |
browserify-collapsed | 90.3 | 15.74 | 106.04 | |
webpack | 87.67 | 12.5 | 100.17 | |
rollup | 79.16 | 3.78 | 82.94 | |
closure | 80.18 | 1.57 | 81.75 | |
rjs | 93.82 | 3.83 | 97.65 | |
rjs-almond | 91.25 | 4.9 | 96.15 | |
5000 modules | ||||
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 142.59 | 97.29 | 239.88 | |
browserify-collapsed | 165.18 | 64.18 | 229.36 | |
webpack | 127.97 | 54.23 | 182.2 | |
rollup | 84.08 | 19.61 | 103.69 | |
closure | 82.16 | 11.74 | 93.9 | |
rjs | 153.66 | 15.28 | 168.94 | |
rjs-almond | 156.4 | 24.81 | 181.21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 modules | ||||
---|---|---|---|---|
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 95.23 | 2.05 | 97.28 | |
browserify-collapsed | 83.59 | 8.91 | 92.49 | |
webpack | 83.54 | 0.77 | 84.3 | |
rollup | 87.22 | 0.07 | 87.28 | |
closure | 84.74 | 0.08 | 84.82 | |
rjs | 91.52 | 0.12 | 91.64 | |
rjs-almond | 87.53 | 2.44 | 89.97 | |
1000 modules | ||||
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 100.3 | 33.12 | 133.41 | |
browserify-collapsed | 97.56 | 30.77 | 128.34 | |
webpack | 85.84 | 31.59 | 117.43 | |
rollup | 86.75 | 1.81 | 88.56 | |
closure | 81.98 | 0.69 | 82.66 | |
rjs | 95.6 | 0.76 | 96.37 | |
rjs-almond | 101.52 | 4.8 | 106.32 | |
5000 modules | ||||
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 231.89 | 174.77 | 406.66 | |
browserify-collapsed | 136.92 | 166.96 | 303.88 | |
webpack | 128.74 | 138.26 | 267.01 | |
rollup | 99.06 | 11.41 | 110.48 | |
closure | 88 | 9.32 | 97.32 | |
rjs | 159.55 | 4.43 | 163.98 | |
rjs-almond | 147.79 | 5.29 | 153.08 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 modules | ||||
---|---|---|---|---|
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 95.94 | 5.13 | 101.07 | |
browserify-collapsed | 91.44 | 10.03 | 101.47 | |
webpack | 97.91 | 1.66 | 99.57 | |
rollup | 85.02 | 1.62 | 86.64 | |
closure | 84.76 | 1.53 | 86.3 | |
rjs | 102.49 | 2.52 | 105.01 | |
rjs-almond | 91.34 | 3.17 | 94.51 | |
1000 modules | ||||
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 105.86 | 16.59 | 122.45 | |
browserify-collapsed | 115.69 | 14.24 | 129.93 | |
webpack | 108 | 11.83 | 119.83 | |
rollup | 91.18 | 6.53 | 97.72 | |
closure | 92.67 | 4.72 | 97.39 | |
rjs | 116.65 | 1.17 | 117.83 | |
rjs-almond | 112.9 | 2.51 | 115.41 | |
5000 modules | ||||
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 139.83 | 51.81 | 191.63 | |
browserify-collapsed | 128.61 | 61.02 | 189.63 | |
webpack | 120.99 | 33.85 | 154.83 | |
rollup | 96.67 | 8.64 | 105.31 | |
closure | 95.09 | 12.27 | 107.36 | |
rjs | 140.85 | 3.03 | 143.88 | |
rjs-almond | 139.23 | 7.06 | 146.29 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
100 modules | ||||
---|---|---|---|---|
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 87.02 | 11.19 | 98.21 | |
browserify-collapsed | 89.83 | 6.2 | 96.03 | |
webpack | 95.08 | 4.01 | 99.09 | |
rollup | 89.27 | 0.16 | 89.44 | |
closure | 79.57 | 0.14 | 79.71 | |
rjs | 94.98 | 0.72 | 95.7 | |
rjs-almond | 88.13 | 1.49 | 89.63 | |
1000 modules | ||||
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 93.25 | 22.57 | 115.82 | |
browserify-collapsed | 94.43 | 19.38 | 113.81 | |
webpack | 89.54 | 16.38 | 105.92 | |
rollup | 86.24 | 0.54 | 86.79 | |
closure | 87.99 | 0.22 | 88.21 | |
rjs | 100.42 | 2.98 | 103.4 | |
rjs-almond | 96.13 | 5.19 | 101.32 | |
5000 modules | ||||
Bundler | Load time (ms) | Run time (ms) | Total time (ms) | |
browserify | 112.3 | 40.56 | 152.86 | |
browserify-collapsed | 105.56 | 47.06 | 152.63 | |
webpack | 114.38 | 35.48 | 149.86 | |
rollup | 89.27 | 2.61 | 91.88 | |
closure | 82.42 | 1.1 | 83.52 | |
rjs | 120.94 | 11.03 | 131.97 | |
rjs-almond | 116.63 | 9.56 | 126.19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ungzipped: | |
||100 modules|1000 modules|5000 modules| | |
| ---- | ---- | ---- | ---- | | |
|browserify| 7982| 79987| 419985| | |
|browserify-collapsed| 5786| 57991| 309982| | |
|webpack| 3955| 39057| 203054| | |
|rollup| 1265| 13865| 81851| | |
|closure| 758| 7958| 43955| | |
|rjs| 29234| 136338| 628347| | |
|rjs-almond| 14509| 121612| 613622| | |
gzipped: | |
||100 modules|1000 modules|5000 modules| | |
| ---- | ---- | ---- | ---- | | |
|browserify| 1650| 13779| 63554| | |
|browserify-collapsed| 1464| 11837| 55536| | |
|webpack| 688| 4850| 24635| | |
|rollup| 629| 4604| 22389| | |
|closure| 302| 2140| 11807| | |
|rjs| 7940| 19017| 62674| | |
|rjs-almond| 2732| 13187| 56135| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment