Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency bun to ^1.1.38 #622

Merged
merged 2 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 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.37</sub>
- [bun](https://github.com/oven-sh/bun) <sub>v1.1.38</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 26, 2024<!-- lastUpdated:end -->._
_Benchmarks last updated on <!-- lastUpdated:start -->Nov 29, 2024<!-- lastUpdated:end -->._

<br>

Expand Down Expand Up @@ -138,7 +138,7 @@ xychart-beta
| 7. [@tdewolff/minify](packages/minifiers/minifiers/tdewolff-minify.ts) | <sup>-66% </sup>`59.95 kB` | <sup>-46% </sup>`19.50 kB` | **<sup>🏆 </sup>`5 ms`** |
| 8. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | <sup>-64% </sup>`62.50 kB` | <sup>-46% </sup>`19.57 kB` | <sup>*40x* </sup>`217 ms` |
| 9. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | <sup>-64% </sup>`63.15 kB` | <sup>-46% </sup>`19.68 kB` | <sup>*52x* </sup>`280 ms` |
| 10. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-64% </sup>`61.84 kB` | <sup>-45% </sup>`19.86 kB` | <sup>*3x* </sup>`18 ms` |
| 10. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-64% </sup>`61.84 kB` | <sup>-45% </sup>`19.86 kB` | <sup>*3x* </sup>`20 ms` |
| 11. [tedivm/jshrink](packages/minifiers/minifiers/jshrink/index.ts) | <sup>-44% </sup>`97.63 kB` | <sup>-31% </sup>`25.00 kB` | <sup>*45x* </sup>`246 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>`33 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` |
| 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>`24 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` |
| 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>`50 ms` |
| 8. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-51% </sup>`273.41 kB` | <sup>-29% </sup>`92.40 kB` | <sup>*1x* </sup>`51 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>`46 ms` |
| 9. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-54% </sup>`466.80 kB` | <sup>-34% </sup>`127.65 kB` | <sup>*1x* </sup>`49 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>`60 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` |
| 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>`86 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` |
| 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>`140 ms` |
| 7. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-68% </sup>`1.02 MB` | <sup>-51% </sup>`337.93 kB` | <sup>*1x* </sup>`148 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 Expand Up @@ -486,7 +486,7 @@ xychart-beta
| 4. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | <sup>-64% </sup>`2.43 MB` | <sup>-42% </sup>`475.48 kB` | <sup>*22x* </sup>`3,108 ms` |
| 5. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | <sup>-64% </sup>`2.42 MB` | <sup>-42% </sup>`478.57 kB` | <sup>*18x* </sup>`2,504 ms` |
| 6. [esbuild](packages/minifiers/minifiers/esbuild.ts) | <sup>-65% </sup>`2.31 MB` | <sup>-41% </sup>`488.28 kB` | <sup>*2x* </sup>`294 ms` |
| 7. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-66% </sup>`2.30 MB` | <sup>-40% </sup>`491.83 kB` | <sup>*1x* </sup>`189 ms` |
| 7. [bun](packages/minifiers/minifiers/bun.ts) | <sup>-66% </sup>`2.30 MB` | <sup>-40% </sup>`491.83 kB` | <sup>*1x* </sup>`190 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. [tedivm/jshrink](packages/minifiers/minifiers/jshrink/index.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.37",
"version": "1.1.38",
"result": {
"data": {
"minifiedSize": 23993,
"minzippedSize": 8661,
"time": 14.525799999999998,
"time": 15.1844146,
"runs": 5
}
}
Expand Down Expand Up @@ -255,12 +255,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.37",
"version": "1.1.38",
"result": {
"data": {
"minifiedSize": 61836,
"minzippedSize": 19857,
"time": 18.3576938,
"time": 19.6059452,
"runs": 5
}
}
Expand Down Expand Up @@ -383,12 +383,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.37",
"version": "1.1.38",
"result": {
"data": {
"minifiedSize": 92548,
"minzippedSize": 32653,
"time": 30.2935604,
"time": 30.317344000000002,
"runs": 5
}
}
Expand Down Expand Up @@ -535,12 +535,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.37",
"version": "1.1.38",
"result": {
"data": {
"minifiedSize": 121496,
"minzippedSize": 45400,
"time": 32.5043296,
"time": 33.85452600000001,
"runs": 5
}
}
Expand Down Expand Up @@ -675,12 +675,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.37",
"version": "1.1.38",
"result": {
"data": {
"minifiedSize": 73448,
"minzippedSize": 26655,
"time": 23.9309334,
"time": 24.506806400000002,
"runs": 5
}
}
Expand Down Expand Up @@ -791,12 +791,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.37",
"version": "1.1.38",
"result": {
"data": {
"minifiedSize": 273406,
"minzippedSize": 92395,
"time": 49.795967,
"time": 51.3075056,
"runs": 5
}
}
Expand Down Expand Up @@ -941,12 +941,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.37",
"version": "1.1.38",
"result": {
"data": {
"minifiedSize": 466804,
"minzippedSize": 127653,
"time": 46.3266456,
"time": 48.65149220000001,
"runs": 5
}
}
Expand Down Expand Up @@ -1080,12 +1080,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.37",
"version": "1.1.38",
"result": {
"data": {
"minifiedSize": 659427,
"minzippedSize": 166341,
"time": 60.1324772,
"time": 61.321060599999996,
"runs": 5
}
}
Expand Down Expand Up @@ -1205,12 +1205,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.37",
"version": "1.1.38",
"result": {
"data": {
"minifiedSize": 727899,
"minzippedSize": 182671,
"time": 86.31564019999999,
"time": 87.96988739999999,
"runs": 5
}
}
Expand Down Expand Up @@ -1328,12 +1328,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.37",
"version": "1.1.38",
"result": {
"data": {
"minifiedSize": 1024688,
"minzippedSize": 337934,
"time": 139.5047328,
"time": 148.17020780000001,
"runs": 5
}
}
Expand Down Expand Up @@ -1458,12 +1458,12 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.37",
"version": "1.1.38",
"result": {
"data": {
"minifiedSize": 2296786,
"minzippedSize": 491833,
"time": 189.03355200000001,
"time": 189.94214499999998,
"runs": 5
}
}
Expand Down Expand Up @@ -1621,7 +1621,7 @@
},
"bun": {
"minifierPath": "bun.ts",
"version": "1.1.37",
"version": "1.1.38",
"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.37",
"bun": "^1.1.38",
"esbuild": "^0.24.0",
"find-up": "^7.0.0",
"google-closure-compiler": "^20240317.0.0",
Expand Down
Loading