Skip to content

Commit

Permalink
fix(deps): update dependency @swc/core to ^1.7.24 (#588)
Browse files Browse the repository at this point in the history
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 Sep 8, 2024
1 parent 29cead3 commit 51f46dd
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 70 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ This project benchmarks the following minifiers:
- [esbuild](https://github.com/evanw/esbuild) <sub>v0.23.1</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>
- [@swc/core](https://github.com/swc-project/swc) <sub>v1.7.23</sub>
- [@swc/core](https://github.com/swc-project/swc) <sub>v1.7.24</sub>
- [@tdewolff/minify](https://github.com/tdewolff/minify#readme) <sub>v2.20.37</sub>
- [terser](https://github.com/terser/terser) <sub>v5.31.6</sub>
- [uglify-js](https://github.com/mishoo/UglifyJS) <sub>v3.19.3</sub>
<!-- minifiers:end -->

_Benchmarks last updated on <!-- lastUpdated:start -->Sep 7, 2024<!-- lastUpdated:end -->._
_Benchmarks last updated on <!-- lastUpdated:start -->Sep 8, 2024<!-- lastUpdated:end -->._

<br>

Expand Down Expand Up @@ -90,7 +90,7 @@ xychart-beta
| :-------------------------------------------------------------------------------------------------------------------------------- | -------------------------------: | ------------------------------: | ----------------------------: |
| [react v17.0.2](https://www.npmjs.com/package/react/v/17.0.2) ([Source](https://unpkg.com/[email protected]/cjs/react.development.js)) | `72.13 kB` | `19.39 kB` | |
| **Minifier** | **Minified size** | **Minzipped size** | **Time** |
| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-68% </sup>`22.87 kB` | **<sup>πŸ†-58% </sup>`8.17 kB`** | <sup>*9x* </sup>`23 ms` |
| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-68% </sup>`22.87 kB` | **<sup>πŸ†-58% </sup>`8.17 kB`** | <sup>*8x* </sup>`21 ms` |
| 2. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | **<sup>πŸ†-69% </sup>`22.64 kB`** | <sup>-58% </sup>`8.18 kB` | <sup>*211x* </sup>`536 ms` |
| 3. [google-closure-compiler](packages/minifiers/minifiers/google-closure-compiler.ts) | <sup>-68% </sup>`22.83 kB` | <sup>-58% </sup>`8.19 kB` | <sup>*1291x* </sup>`3,269 ms` |
| 4. [terser](packages/minifiers/minifiers/terser.ts) | <sup>-68% </sup>`23.14 kB` | <sup>-57% </sup>`8.32 kB` | <sup>*108x* </sup>`274 ms` |
Expand Down Expand Up @@ -130,7 +130,7 @@ xychart-beta
| [moment v2.29.1](https://www.npmjs.com/package/moment/v/2.29.1) ([Source](https://unpkg.com/[email protected]/moment.js)) | `173.90 kB` | `36.23 kB` | |
| **Minifier** | **Minified size** | **Minzipped size** | **Time** |
| 1. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | **<sup>πŸ†-67% </sup>`57.73 kB`** | **<sup>πŸ†-49% </sup>`18.57 kB`** | <sup>*217x* </sup>`1,181 ms` |
| 2. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-67% </sup>`58.21 kB` | <sup>-48% </sup>`18.69 kB` | <sup>*10x* </sup>`58 ms` |
| 2. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-67% </sup>`58.21 kB` | <sup>-48% </sup>`18.69 kB` | <sup>*9x* </sup>`51 ms` |
| 3. [terser](packages/minifiers/minifiers/terser.ts) | <sup>-66% </sup>`59.14 kB` | <sup>-48% </sup>`18.69 kB` | <sup>*124x* </sup>`677 ms` |
| 4. [google-closure-compiler](packages/minifiers/minifiers/google-closure-compiler.ts) | <sup>-66% </sup>`58.27 kB` | <sup>-48% </sup>`18.91 kB` | <sup>*711x* </sup>`3,856 ms` |
| 5. [babel-minify](packages/minifiers/minifiers/babel-minify.ts) | <sup>-66% </sup>`59.70 kB` | <sup>-47% </sup>`19.12 kB` | <sup>*252x* </sup>`1,367 ms` |
Expand Down Expand Up @@ -207,7 +207,7 @@ xychart-beta
| :------------------------------------------------------------------------------------------------------------- | --------------------------------: | -------------------------------: | ---------------------------: |
| [vue v2.6.12](https://www.npmjs.com/package/vue/v/2.6.12) ([Source](https://unpkg.com/[email protected]/dist/vue.js)) | `342.15 kB` | `89.67 kB` | |
| **Minifier** | **Minified size** | **Minzipped size** | **Time** |
| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-66% </sup>`115.50 kB` | **<sup>πŸ†-53% </sup>`42.52 kB`** | <sup>*11x* </sup>`129 ms` |
| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-66% </sup>`115.50 kB` | **<sup>πŸ†-53% </sup>`42.52 kB`** | <sup>*11x* </sup>`130 ms` |
| 2. [terser](packages/minifiers/minifiers/terser.ts) | <sup>-66% </sup>`116.83 kB` | <sup>-52% </sup>`42.94 kB` | <sup>*95x* </sup>`1,120 ms` |
| 3. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | **<sup>πŸ†-67% </sup>`113.80 kB`** | <sup>-52% </sup>`43.04 kB` | <sup>*195x* </sup>`2,282 ms` |
| 4. [babel-minify](packages/minifiers/minifiers/babel-minify.ts) | <sup>-66% </sup>`117.90 kB` | <sup>-51% </sup>`43.93 kB` | <sup>*211x* </sup>`2,476 ms` |
Expand Down Expand Up @@ -248,7 +248,7 @@ xychart-beta
| **Minifier** | **Minified size** | **Minzipped size** | **Time** |
| 1. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | **<sup>πŸ†-87% </sup>`68.17 kB`** | **<sup>πŸ†-74% </sup>`24.69 kB`** | <sup>*148x* </sup>`1,756 ms` |
| 2. [google-closure-compiler](packages/minifiers/minifiers/google-closure-compiler.ts) | <sup>-86% </sup>`73.47 kB` | <sup>-74% </sup>`24.97 kB` | <sup>*390x* </sup>`4,633 ms` |
| 3. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-87% </sup>`69.84 kB` | <sup>-74% </sup>`25.18 kB` | <sup>*9x* </sup>`112 ms` |
| 3. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-87% </sup>`69.84 kB` | <sup>-74% </sup>`25.18 kB` | <sup>*9x* </sup>`113 ms` |
| 4. [terser](packages/minifiers/minifiers/terser.ts) | <sup>-87% </sup>`70.67 kB` | <sup>-74% </sup>`25.19 kB` | <sup>*79x* </sup>`946 ms` |
| 5. [babel-minify](packages/minifiers/minifiers/babel-minify.ts) | <sup>-87% </sup>`72.37 kB` | <sup>-74% </sup>`25.50 kB` | <sup>*163x* </sup>`1,940 ms` |
| 6. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | <sup>-86% </sup>`74.61 kB` | <sup>-73% </sup>`25.86 kB` | <sup>*28x* </sup>`341 ms` |
Expand Down Expand Up @@ -286,7 +286,7 @@ xychart-beta
| [d3 v6.3.1](https://www.npmjs.com/package/d3/v/6.3.1) ([Source](https://unpkg.com/[email protected]/dist/d3.js)) | `555.77 kB` | `130.69 kB` | |
| **Minifier** | **Minified size** | **Minzipped size** | **Time** |
| 1. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | **<sup>πŸ†-53% </sup>`263.56 kB`** | **<sup>πŸ†-33% </sup>`87.02 kB`** | <sup>*117x* </sup>`4,067 ms` |
| 2. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-52% </sup>`265.27 kB` | <sup>-33% </sup>`87.28 kB` | <sup>*8x* </sup>`285 ms` |
| 2. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-52% </sup>`265.27 kB` | <sup>-33% </sup>`87.28 kB` | <sup>*8x* </sup>`286 ms` |
| 3. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | <sup>-50% </sup>`275.35 kB` | <sup>-32% </sup>`88.32 kB` | <sup>*21x* </sup>`749 ms` |
| 4. [terser](packages/minifiers/minifiers/terser.ts) | <sup>-52% </sup>`267.90 kB` | <sup>-32% </sup>`88.34 kB` | <sup>*66x* </sup>`2,300 ms` |
| 5. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | <sup>-50% </sup>`276.47 kB` | <sup>-32% </sup>`89.16 kB` | <sup>*29x* </sup>`1,010 ms` |
Expand Down Expand Up @@ -324,7 +324,7 @@ xychart-beta
| :----------------------------------------------------------------------------------------------------------------------------- | --------------------------------: | --------------------------------: | ---------------------------: |
| [terser v5.30.3](https://www.npmjs.com/package/terser/v/5.30.3) ([Source](https://unpkg.com/[email protected]/dist/bundle.min.js)) | `1.01 MB` | `193.76 kB` | |
| **Minifier** | **Minified size** | **Minzipped size** | **Time** |
| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-55% </sup>`455.61 kB` | **<sup>πŸ†-36% </sup>`123.09 kB`** | <sup>*7x* </sup>`247 ms` |
| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-55% </sup>`455.61 kB` | **<sup>πŸ†-36% </sup>`123.09 kB`** | <sup>*7x* </sup>`243 ms` |
| 2. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | <sup>-55% </sup>`451.19 kB` | <sup>-36% </sup>`123.33 kB` | <sup>*120x* </sup>`3,878 ms` |
| 3. [terser](packages/minifiers/minifiers/terser.ts) | <sup>-55% </sup>`458.31 kB` | <sup>-36% </sup>`123.50 kB` | <sup>*67x* </sup>`2,196 ms` |
| 4. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | <sup>-53% </sup>`474.40 kB` | <sup>-36% </sup>`124.43 kB` | <sup>*30x* </sup>`985 ms` |
Expand Down Expand Up @@ -363,7 +363,7 @@ xychart-beta
| :------------------------------------------------------------------------------------------------------------------------- | --------------------------------: | --------------------------------: | --------------------------------: |
| [three v0.124.0](https://www.npmjs.com/package/three/v/0.124.0) ([Source](https://unpkg.com/[email protected]/build/three.js)) | `1.25 MB` | `248.27 kB` | |
| **Minifier** | **Minified size** | **Minzipped size** | **Time** |
| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-48% </sup>`645.27 kB` | **<sup>πŸ†-36% </sup>`158.63 kB`** | <sup>*8x* </sup>`374 ms` |
| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | <sup>-48% </sup>`645.27 kB` | **<sup>πŸ†-36% </sup>`158.63 kB`** | <sup>*8x* </sup>`376 ms` |
| 2. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | **<sup>πŸ†-49% </sup>`641.59 kB`** | <sup>-36% </sup>`159.07 kB` | <sup>*113x* </sup>`5,130 ms` |
| 3. [terser](packages/minifiers/minifiers/terser.ts) | <sup>-48% </sup>`653.99 kB` | <sup>-36% </sup>`159.73 kB` | <sup>*65x* </sup>`2,976 ms` |
| 4. [google-closure-compiler](packages/minifiers/minifiers/google-closure-compiler.ts) | <sup>-48% </sup>`644.45 kB` | <sup>-34% </sup>`163.00 kB` | <sup>*181x* </sup>`8,208 ms` |
Expand Down Expand Up @@ -441,7 +441,7 @@ xychart-beta
| :----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------: | --------------------------------: | --------------------------------: |
| [echarts v5.1.1](https://www.npmjs.com/package/echarts/v/5.1.1) ([Source](https://unpkg.com/[email protected]/dist/echarts.js)) | `3.20 MB` | `684.61 kB` | |
| **Minifier** | **Minified size** | **Minzipped size** | **Time** |
| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | **<sup>πŸ†-69% </sup>`993.26 kB`** | **<sup>πŸ†-53% </sup>`320.30 kB`** | <sup>*10x* </sup>`1,070 ms` |
| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | **<sup>πŸ†-69% </sup>`993.26 kB`** | **<sup>πŸ†-53% </sup>`320.30 kB`** | <sup>*10x* </sup>`1,065 ms` |
| 2. [terser](packages/minifiers/minifiers/terser.ts) | <sup>-69% </sup>`1.00 MB` | <sup>-53% </sup>`322.10 kB` | <sup>*58x* </sup>`6,075 ms` |
| 3. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | <sup>-66% </sup>`1.07 MB` | <sup>-52% </sup>`330.74 kB` | <sup>*25x* </sup>`2,689 ms` |
| 4. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | <sup>-67% </sup>`1.07 MB` | <sup>-52% </sup>`331.41 kB` | <sup>*17x* </sup>`1,776 ms` |
Expand Down Expand Up @@ -519,7 +519,7 @@ xychart-beta
| :------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------: | --------------------------------: | --------------------------------: |
| [typescript v4.9.5](https://www.npmjs.com/package/typescript/v/4.9.5) ([Source](https://unpkg.com/[email protected]/lib/typescript.js)) | `10.95 MB` | `1.88 MB` | |
| **Minifier** | **Minified size** | **Minzipped size** | **Time** |
| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | **<sup>πŸ†-70% </sup>`3.31 MB`** | **<sup>πŸ†-55% </sup>`852.32 kB`** | <sup>*10x* </sup>`2,724 ms` |
| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | **<sup>πŸ†-70% </sup>`3.31 MB`** | **<sup>πŸ†-55% </sup>`852.32 kB`** | <sup>*10x* </sup>`2,709 ms` |
| 2. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | <sup>-68% </sup>`3.54 MB` | <sup>-53% </sup>`876.54 kB` | <sup>*14x* </sup>`3,928 ms` |
| 3. [@tdewolff/minify](packages/minifiers/minifiers/tdewolff-minify.ts) | <sup>-69% </sup>`3.36 MB` | <sup>-53% </sup>`876.66 kB` | **<sup>πŸ† </sup>`264 ms`** |
| 4. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | <sup>-68% </sup>`3.53 MB` | <sup>-53% </sup>`879.30 kB` | <sup>*19x* </sup>`5,281 ms` |
Expand Down
Loading

0 comments on commit 51f46dd

Please sign in to comment.