Skip to content

Commit

Permalink
fix(deps): update dependency bun to ^1.1.37 (#621)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency bun to ^1.1.37

* chore: updated benchmarks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: GitHub <[email protected]>
  • Loading branch information
renovate[bot] and GitHub authored Nov 26, 2024
1 parent b6530a0 commit 64e68a5
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 62 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This project benchmarks the following minifiers:

<!-- minifiers:start -->
- [babel-minify](https://github.com/babel/minify/tree/master/packages/babel-minify) <sub>v0.5.2</sub>
- [bun](https://github.com/oven-sh/bun) <sub>v1.1.36</sub>
- [bun](https://github.com/oven-sh/bun) <sub>v1.1.37</sub>
- [esbuild](https://github.com/evanw/esbuild) <sub>v0.24.0</sub>
- [google-closure-compiler](https://github.com/google/closure-compiler-npm/tree/master/packages/google-closure-compiler) <sub>v20240317.0.0</sub>
- [tedivm/jshrink](https://github.com/tedious/JShrink) <sub>v1.7.0</sub>
Expand All @@ -21,7 +21,7 @@ This project benchmarks the following minifiers:
- [uglify-js](https://github.com/mishoo/UglifyJS) <sub>v3.19.3</sub>
<!-- minifiers:end -->

_Benchmarks last updated on <!-- lastUpdated:start -->Nov 24, 2024<!-- lastUpdated:end -->._
_Benchmarks last updated on <!-- lastUpdated:start -->Nov 26, 2024<!-- lastUpdated:end -->._

<br>

Expand Down Expand Up @@ -176,7 +176,7 @@ xychart-beta
| 6. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | <sup>-67% </sup>`94.55 kB` | <sup>-63% </sup>`31.62 kB` | <sup>*43x* </sup>`364 ms` |
| 7. [babel-minify](packages/minifiers/minifiers/babel-minify.ts) | <sup>-68% </sup>`92.10 kB` | <sup>-62% </sup>`31.80 kB` | <sup>*270x* </sup>`2,255 ms` |
| 8. [esbuild](packages/minifiers/minifiers/esbuild.ts) | <sup>-69% </sup>`90.07 kB` | <sup>-62% </sup>`31.95 kB` | <sup>*4x* </sup>`36 ms` |
| 9. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-68% </sup>`92.55 kB` | <sup>-61% </sup>`32.65 kB` | <sup>*3x* </sup>`29 ms` |
| 9. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-68% </sup>`92.55 kB` | <sup>-61% </sup>`32.65 kB` | <sup>*3x* </sup>`30 ms` |
| 10. [google-closure-compiler](packages/minifiers/minifiers/google-closure-compiler.ts) | <sup>-68% </sup>`92.70 kB` | <sup>-61% </sup>`33.09 kB` | <sup>*523x* </sup>`4,363 ms` |
| 11. [tedivm/jshrink](packages/minifiers/minifiers/jshrink/index.ts) | <sup>-50% </sup>`144.14 kB` | <sup>-52% </sup>`40.88 kB` | <sup>*37x* </sup>`315 ms` |
</div>
Expand Down Expand Up @@ -216,7 +216,7 @@ xychart-beta
| 7. [@tdewolff/minify](packages/minifiers/minifiers/tdewolff-minify.ts) | <sup>-66% </sup>`117.81 kB` | <sup>-51% </sup>`44.38 kB` | **<sup>🏆 </sup>`13 ms`** |
| 8. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | <sup>-63% </sup>`126.14 kB` | <sup>-50% </sup>`44.45 kB` | <sup>*28x* </sup>`375 ms` |
| 9. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | <sup>-63% </sup>`126.58 kB` | <sup>-50% </sup>`44.68 kB` | <sup>*33x* </sup>`446 ms` |
| 10. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-64% </sup>`121.50 kB` | <sup>-49% </sup>`45.40 kB` | <sup>*2x* </sup>`34 ms` |
| 10. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-64% </sup>`121.50 kB` | <sup>-49% </sup>`45.40 kB` | <sup>*2x* </sup>`33 ms` |
| 11. [tedivm/jshrink](packages/minifiers/minifiers/jshrink/index.ts) | <sup>-42% </sup>`197.36 kB` | <sup>-36% </sup>`57.17 kB` | <sup>*31x* </sup>`416 ms` |
</div>

Expand Down Expand Up @@ -255,7 +255,7 @@ xychart-beta
| 7. [esbuild](packages/minifiers/minifiers/esbuild.ts) | <sup>-87% </sup>`72.48 kB` | <sup>-73% </sup>`26.20 kB` | <sup>*2x* </sup>`29 ms` |
| 8. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | <sup>-86% </sup>`75.29 kB` | <sup>-73% </sup>`26.22 kB` | <sup>*31x* </sup>`377 ms` |
| 9. [@tdewolff/minify](packages/minifiers/minifiers/tdewolff-minify.ts) | <sup>-87% </sup>`71.90 kB` | <sup>-73% </sup>`26.50 kB` | **<sup>🏆 </sup>`12 ms`** |
| 10. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-87% </sup>`73.45 kB` | <sup>-72% </sup>`26.66 kB` | <sup>*2x* </sup>`25 ms` |
| 10. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-87% </sup>`73.45 kB` | <sup>-72% </sup>`26.66 kB` | <sup>*2x* </sup>`24 ms` |
| 11. [tedivm/jshrink](packages/minifiers/minifiers/jshrink/index.ts) | <sup>-73% </sup>`148.78 kB` | <sup>-62% </sup>`36.33 kB` | <sup>*27x* </sup>`328 ms` |
</div>

Expand Down Expand Up @@ -292,7 +292,7 @@ xychart-beta
| 5. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | <sup>-50% </sup>`276.47 kB` | <sup>-32% </sup>`89.16 kB` | <sup>*30x* </sup>`1,016 ms` |
| 6. [@tdewolff/minify](packages/minifiers/minifiers/tdewolff-minify.ts) | <sup>-51% </sup>`269.93 kB` | <sup>-31% </sup>`89.89 kB` | **<sup>🏆 </sup>`33 ms`** |
| 7. [esbuild](packages/minifiers/minifiers/esbuild.ts) | <sup>-51% </sup>`270.13 kB` | <sup>-31% </sup>`90.80 kB` | <sup>*2x* </sup>`70 ms` |
| 8. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-51% </sup>`273.41 kB` | <sup>-29% </sup>`92.40 kB` | <sup>*1x* </sup>`52 ms` |
| 8. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-51% </sup>`273.41 kB` | <sup>-29% </sup>`92.40 kB` | <sup>*1x* </sup>`50 ms` |
| 9. [google-closure-compiler](packages/minifiers/minifiers/google-closure-compiler.ts) | <sup>-51% </sup>`270.30 kB` | <sup>-28% </sup>`94.12 kB` | <sup>*212x* </sup>`7,110 ms` |
| 10. [babel-minify](packages/minifiers/minifiers/babel-minify.ts) <sub title="Failed: minification">❌ Minification</sub> ||| - |
| 11. [tedivm/jshrink](packages/minifiers/minifiers/jshrink/index.ts) <sub title="Failed: minification">❌ Minification</sub> ||| - |
Expand Down Expand Up @@ -332,7 +332,7 @@ xychart-beta
| 6. [@tdewolff/minify](packages/minifiers/minifiers/tdewolff-minify.ts) | <sup>-55% </sup>`456.70 kB` | <sup>-36% </sup>`124.90 kB` | **<sup>🏆 </sup>`31 ms`** |
| 7. [google-closure-compiler](packages/minifiers/minifiers/google-closure-compiler.ts) | **<sup>🏆-56% </sup>`439.95 kB`** | <sup>-35% </sup>`126.56 kB` | <sup>*211x* </sup>`6,631 ms` |
| 8. [esbuild](packages/minifiers/minifiers/esbuild.ts) | <sup>-55% </sup>`458.89 kB` | <sup>-35% </sup>`126.71 kB` | <sup>*1x* </sup>`62 ms` |
| 9. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-54% </sup>`466.80 kB` | <sup>-34% </sup>`127.65 kB` | <sup>*1x* </sup>`48 ms` |
| 9. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-54% </sup>`466.80 kB` | <sup>-34% </sup>`127.65 kB` | <sup>*1x* </sup>`46 ms` |
| 10. [tedivm/jshrink](packages/minifiers/minifiers/jshrink/index.ts) | <sup>-37% </sup>`633.71 kB` | <sup>-25% </sup>`145.18 kB` | <sup>*37x* </sup>`1,185 ms` |
| 11. [babel-minify](packages/minifiers/minifiers/babel-minify.ts) <sub title="Failed: minification">❌ Minification</sub> ||| - |
</div>
Expand Down Expand Up @@ -371,7 +371,7 @@ xychart-beta
| 6. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | <sup>-46% </sup>`675.50 kB` | <sup>-34% </sup>`163.20 kB` | <sup>*27x* </sup>`1,293 ms` |
| 7. [esbuild](packages/minifiers/minifiers/esbuild.ts) | <sup>-48% </sup>`646.76 kB` | <sup>-34% </sup>`163.73 kB` | <sup>*1x* </sup>`91 ms` |
| 8. [@tdewolff/minify](packages/minifiers/minifiers/tdewolff-minify.ts) | <sup>-48% </sup>`644.55 kB` | <sup>-34% </sup>`164.74 kB` | **<sup>🏆 </sup>`48 ms`** |
| 9. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-47% </sup>`659.43 kB` | <sup>-33% </sup>`166.34 kB` | <sup>*1x* </sup>`61 ms` |
| 9. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-47% </sup>`659.43 kB` | <sup>-33% </sup>`166.34 kB` | <sup>*1x* </sup>`60 ms` |
| 10. [tedivm/jshrink](packages/minifiers/minifiers/jshrink/index.ts) | <sup>-24% </sup>`952.01 kB` | <sup>-22% </sup>`193.47 kB` | <sup>*31x* </sup>`1,519 ms` |
| 11. [babel-minify](packages/minifiers/minifiers/babel-minify.ts) <sub title="Failed: timeout">❌ Timed out</sub> | - | - | <sup>:warning:</sup> `+10,000 ms` |
</div>
Expand Down Expand Up @@ -409,7 +409,7 @@ xychart-beta
| 5. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | <sup>-64% </sup>`759.34 kB` | <sup>-46% </sup>`166.39 kB` | <sup>*28x* </sup>`1,599 ms` |
| 6. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | <sup>-65% </sup>`756.53 kB` | <sup>-46% </sup>`167.58 kB` | <sup>*23x* </sup>`1,345 ms` |
| 7. [esbuild](packages/minifiers/minifiers/esbuild.ts) | <sup>-66% </sup>`724.14 kB` | <sup>-42% </sup>`181.07 kB` | <sup>*2x* </sup>`122 ms` |
| 8. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-66% </sup>`727.90 kB` | <sup>-41% </sup>`182.67 kB` | <sup>*1x* </sup>`88 ms` |
| 8. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-66% </sup>`727.90 kB` | <sup>-41% </sup>`182.67 kB` | <sup>*1x* </sup>`86 ms` |
| 9. [google-closure-compiler](packages/minifiers/minifiers/google-closure-compiler.ts) <sub title="Failed: timeout">❌ Timed out</sub> | - | - | <sup>:warning:</sup> `+10,000 ms` |
| 10. [babel-minify](packages/minifiers/minifiers/babel-minify.ts) <sub title="Failed: minification">❌ Minification</sub> ||| - |
| 11. [tedivm/jshrink](packages/minifiers/minifiers/jshrink/index.ts) <sub title="Failed: post-validation">❌ Post-validation</sub> ||| - |
Expand Down Expand Up @@ -447,7 +447,7 @@ xychart-beta
| 4. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | <sup>-67% </sup>`1.07 MB` | <sup>-52% </sup>`331.41 kB` | <sup>*15x* </sup>`1,776 ms` |
| 5. [esbuild](packages/minifiers/minifiers/esbuild.ts) | <sup>-68% </sup>`1.01 MB` | <sup>-52% </sup>`331.56 kB` | <sup>*1x* </sup>`198 ms` |
| 6. [@tdewolff/minify](packages/minifiers/minifiers/tdewolff-minify.ts) | <sup>-68% </sup>`1.01 MB` | <sup>-52% </sup>`331.79 kB` | **<sup>🏆 </sup>`117 ms`** |
| 7. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-68% </sup>`1.02 MB` | <sup>-51% </sup>`337.93 kB` | <sup>*1x* </sup>`141 ms` |
| 7. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-68% </sup>`1.02 MB` | <sup>-51% </sup>`337.93 kB` | <sup>*1x* </sup>`140 ms` |
| 8. [babel-minify](packages/minifiers/minifiers/babel-minify.ts) <sub title="Failed: timeout">❌ Timed out</sub> | - | - | <sup>:warning:</sup> `+10,000 ms` |
| 9. [google-closure-compiler](packages/minifiers/minifiers/google-closure-compiler.ts) <sub title="Failed: timeout">❌ Timed out</sub> | - | - | <sup>:warning:</sup> `+10,000 ms` |
| 10. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) <sub title="Failed: timeout">❌ Timed out</sub> | - | - | <sup>:warning:</sup> `+10,000 ms` |
Expand Down
46 changes: 23 additions & 23 deletions packages/data/data/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.36",
"version": "1.1.37",
"result": {
"data": {
"minifiedSize": 23993,
"minzippedSize": 8661,
"time": 14.879230799999998,
"time": 14.525799999999998,
"runs": 5
}
}
Expand Down Expand Up @@ -255,12 +255,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.36",
"version": "1.1.37",
"result": {
"data": {
"minifiedSize": 61836,
"minzippedSize": 19857,
"time": 18.021615200000003,
"time": 18.3576938,
"runs": 5
}
}
Expand Down Expand Up @@ -383,12 +383,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.36",
"version": "1.1.37",
"result": {
"data": {
"minifiedSize": 92548,
"minzippedSize": 32653,
"time": 29.324777,
"time": 30.2935604,
"runs": 5
}
}
Expand Down Expand Up @@ -535,12 +535,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.36",
"version": "1.1.37",
"result": {
"data": {
"minifiedSize": 121496,
"minzippedSize": 45400,
"time": 34.0438316,
"time": 32.5043296,
"runs": 5
}
}
Expand Down Expand Up @@ -675,12 +675,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.36",
"version": "1.1.37",
"result": {
"data": {
"minifiedSize": 73448,
"minzippedSize": 26655,
"time": 24.6606054,
"time": 23.9309334,
"runs": 5
}
}
Expand Down Expand Up @@ -791,12 +791,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.36",
"version": "1.1.37",
"result": {
"data": {
"minifiedSize": 273406,
"minzippedSize": 92395,
"time": 52.166470200000006,
"time": 49.795967,
"runs": 5
}
}
Expand Down Expand Up @@ -941,12 +941,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.36",
"version": "1.1.37",
"result": {
"data": {
"minifiedSize": 466804,
"minzippedSize": 127653,
"time": 48.159979799999995,
"time": 46.3266456,
"runs": 5
}
}
Expand Down Expand Up @@ -1080,12 +1080,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.36",
"version": "1.1.37",
"result": {
"data": {
"minifiedSize": 659427,
"minzippedSize": 166341,
"time": 61.477037800000005,
"time": 60.1324772,
"runs": 5
}
}
Expand Down Expand Up @@ -1205,12 +1205,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.36",
"version": "1.1.37",
"result": {
"data": {
"minifiedSize": 727899,
"minzippedSize": 182671,
"time": 87.9749188,
"time": 86.31564019999999,
"runs": 5
}
}
Expand Down Expand Up @@ -1328,12 +1328,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.36",
"version": "1.1.37",
"result": {
"data": {
"minifiedSize": 1024688,
"minzippedSize": 337934,
"time": 140.8756556,
"time": 139.5047328,
"runs": 5
}
}
Expand Down Expand Up @@ -1458,12 +1458,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.36",
"version": "1.1.37",
"result": {
"data": {
"minifiedSize": 2296786,
"minzippedSize": 491833,
"time": 189.28528980000002,
"time": 189.03355200000001,
"runs": 5
}
}
Expand Down Expand Up @@ -1621,7 +1621,7 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.36",
"version": "1.1.37",
"result": {
"error": {
"message": "Expected values to be strictly equal:\n+ actual - expected\n\n+ 'var x = function () { return \"string\"; };\\r\\n'\n- 'var x = function () { return \"string\"; };\\n'",
Expand Down
2 changes: 1 addition & 1 deletion packages/minifiers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@swc/core": "^1.9.3",
"@tdewolff/minify": "^2.21.2",
"babel-minify": "^0.5.2",
"bun": "^1.1.36",
"bun": "^1.1.37",
"esbuild": "^0.24.0",
"find-up": "^7.0.0",
"google-closure-compiler": "^20240317.0.0",
Expand Down
Loading

0 comments on commit 64e68a5

Please sign in to comment.