From 2f2dc42b2e1dc09ab18a28608df239e5e6c86d74 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 9 Dec 2024 08:25:50 +0000 Subject: [PATCH 1/2] fix(deps): update dependency @swc/core to ^1.10.1 --- packages/minifiers/package.json | 2 +- pnpm-lock.yaml | 68 ++++++++++++++++----------------- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/packages/minifiers/package.json b/packages/minifiers/package.json index 1b67cf60..ab9bf7a7 100644 --- a/packages/minifiers/package.json +++ b/packages/minifiers/package.json @@ -5,7 +5,7 @@ "main": "index.ts", "dependencies": { "@minification-benchmarks/utils": "*", - "@swc/core": "^1.10.0", + "@swc/core": "^1.10.1", "@tdewolff/minify": "^2.21.2", "babel-minify": "^0.5.2", "bun": "^1.1.38", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 75cd4369..330b5d46 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -195,8 +195,8 @@ importers: specifier: '*' version: link:../utils '@swc/core': - specifier: ^1.10.0 - version: 1.10.0 + specifier: ^1.10.1 + version: 1.10.1 '@tdewolff/minify': specifier: ^2.21.2 version: 2.21.2 @@ -1200,8 +1200,8 @@ packages: - typescript dev: true - /@swc/core-darwin-arm64@1.10.0: - resolution: {integrity: sha512-wCeUpanqZyzvgqWRtXIyhcFK3CqukAlYyP+fJpY2gWc/+ekdrenNIfZMwY7tyTFDkXDYEKzvn3BN/zDYNJFowQ==} + /@swc/core-darwin-arm64@1.10.1: + resolution: {integrity: sha512-NyELPp8EsVZtxH/mEqvzSyWpfPJ1lugpTQcSlMduZLj1EASLO4sC8wt8hmL1aizRlsbjCX+r0PyL+l0xQ64/6Q==} engines: {node: '>=10'} cpu: [arm64] os: [darwin] @@ -1209,8 +1209,8 @@ packages: dev: false optional: true - /@swc/core-darwin-x64@1.10.0: - resolution: {integrity: sha512-0CZPzqTynUBO+SHEl/qKsFSahp2Jv/P2ZRjFG0gwZY5qIcr1+B/v+o74/GyNMBGz9rft+F2WpU31gz2sJwyF4A==} + /@swc/core-darwin-x64@1.10.1: + resolution: {integrity: sha512-L4BNt1fdQ5ZZhAk5qoDfUnXRabDOXKnXBxMDJ+PWLSxOGBbWE6aJTnu4zbGjJvtot0KM46m2LPAPY8ttknqaZA==} engines: {node: '>=10'} cpu: [x64] os: [darwin] @@ -1218,8 +1218,8 @@ packages: dev: false optional: true - /@swc/core-linux-arm-gnueabihf@1.10.0: - resolution: {integrity: sha512-oq+DdMu5uJOFPtRkeiITc4kxmd+QSmK+v+OBzlhdGkSgoH3yRWZP+H2ao0cBXo93ZgCr2LfjiER0CqSKhjGuNA==} + /@swc/core-linux-arm-gnueabihf@1.10.1: + resolution: {integrity: sha512-Y1u9OqCHgvVp2tYQAJ7hcU9qO5brDMIrA5R31rwWQIAKDkJKtv3IlTHF0hrbWk1wPR0ZdngkQSJZple7G+Grvw==} engines: {node: '>=10'} cpu: [arm] os: [linux] @@ -1227,8 +1227,8 @@ packages: dev: false optional: true - /@swc/core-linux-arm64-gnu@1.10.0: - resolution: {integrity: sha512-Y6+PC8knchEViRxiCUj3j8wsGXaIhuvU+WqrFqV834eiItEMEI9+Vh3FovqJMBE3L7d4E4ZQtgImHCXjrHfxbw==} + /@swc/core-linux-arm64-gnu@1.10.1: + resolution: {integrity: sha512-tNQHO/UKdtnqjc7o04iRXng1wTUXPgVd8Y6LI4qIbHVoVPwksZydISjMcilKNLKIwOoUQAkxyJ16SlOAeADzhQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -1236,8 +1236,8 @@ packages: dev: false optional: true - /@swc/core-linux-arm64-musl@1.10.0: - resolution: {integrity: sha512-EbrX9A5U4cECCQQfky7945AW9GYnTXtCUXElWTkTYmmyQK87yCyFfY8hmZ9qMFIwxPOH6I3I2JwMhzdi8Qoz7g==} + /@swc/core-linux-arm64-musl@1.10.1: + resolution: {integrity: sha512-x0L2Pd9weQ6n8dI1z1Isq00VHFvpBClwQJvrt3NHzmR+1wCT/gcYl1tp9P5xHh3ldM8Cn4UjWCw+7PaUgg8FcQ==} engines: {node: '>=10'} cpu: [arm64] os: [linux] @@ -1245,8 +1245,8 @@ packages: dev: false optional: true - /@swc/core-linux-x64-gnu@1.10.0: - resolution: {integrity: sha512-TaxpO6snTjjfLXFYh5EjZ78se69j2gDcqEM8yB9gguPYwkCHi2Ylfmh7iVaNADnDJFtjoAQp0L41bTV/Pfq9Cg==} + /@swc/core-linux-x64-gnu@1.10.1: + resolution: {integrity: sha512-yyYEwQcObV3AUsC79rSzN9z6kiWxKAVJ6Ntwq2N9YoZqSPYph+4/Am5fM1xEQYf/kb99csj0FgOelomJSobxQA==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -1254,8 +1254,8 @@ packages: dev: false optional: true - /@swc/core-linux-x64-musl@1.10.0: - resolution: {integrity: sha512-IEGvDd6aEEKEyZFZ8oCKuik05G5BS7qwG5hO5PEMzdGeh8JyFZXxsfFXbfeAqjue4UaUUrhnoX+Ze3M2jBVMHw==} + /@swc/core-linux-x64-musl@1.10.1: + resolution: {integrity: sha512-tcaS43Ydd7Fk7sW5ROpaf2Kq1zR+sI5K0RM+0qYLYYurvsJruj3GhBCaiN3gkzd8m/8wkqNqtVklWaQYSDsyqA==} engines: {node: '>=10'} cpu: [x64] os: [linux] @@ -1263,8 +1263,8 @@ packages: dev: false optional: true - /@swc/core-win32-arm64-msvc@1.10.0: - resolution: {integrity: sha512-UkQ952GSpY+Z6XONj9GSW8xGSkF53jrCsuLj0nrcuw7Dvr1a816U/9WYZmmcYS8tnG2vHylhpm6csQkyS8lpCw==} + /@swc/core-win32-arm64-msvc@1.10.1: + resolution: {integrity: sha512-D3Qo1voA7AkbOzQ2UGuKNHfYGKL6eejN8VWOoQYtGHHQi1p5KK/Q7V1ku55oxXBsj79Ny5FRMqiRJpVGad7bjQ==} engines: {node: '>=10'} cpu: [arm64] os: [win32] @@ -1272,8 +1272,8 @@ packages: dev: false optional: true - /@swc/core-win32-ia32-msvc@1.10.0: - resolution: {integrity: sha512-a2QpIZmTiT885u/mUInpeN2W9ClCnqrV2LnMqJR1/Fgx1Afw/hAtiDZPtQ0SqS8yDJ2VR5gfNZo3gpxWMrqdVA==} + /@swc/core-win32-ia32-msvc@1.10.1: + resolution: {integrity: sha512-WalYdFoU3454Og+sDKHM1MrjvxUGwA2oralknXkXL8S0I/8RkWZOB++p3pLaGbTvOO++T+6znFbQdR8KRaa7DA==} engines: {node: '>=10'} cpu: [ia32] os: [win32] @@ -1281,8 +1281,8 @@ packages: dev: false optional: true - /@swc/core-win32-x64-msvc@1.10.0: - resolution: {integrity: sha512-tZcCmMwf483nwsEBfUk5w9e046kMa1iSik4bP9Kwi2FGtOfHuDfIcwW4jek3hdcgF5SaBW1ktnK/lgQLDi5AtA==} + /@swc/core-win32-x64-msvc@1.10.1: + resolution: {integrity: sha512-JWobfQDbTnoqaIwPKQ3DVSywihVXlQMbDuwik/dDWlj33A8oEHcjPOGs4OqcA3RHv24i+lfCQpM3Mn4FAMfacA==} engines: {node: '>=10'} cpu: [x64] os: [win32] @@ -1290,8 +1290,8 @@ packages: dev: false optional: true - /@swc/core@1.10.0: - resolution: {integrity: sha512-+CuuTCmQFfzaNGg1JmcZvdUVITQXJk9sMnl1C2TiDLzOSVOJRwVD4dNo5dljX/qxpMAN+2BIYlwjlSkoGi6grg==} + /@swc/core@1.10.1: + resolution: {integrity: sha512-rQ4dS6GAdmtzKiCRt3LFVxl37FaY1cgL9kSUTnhQ2xc3fmHOd7jdJK/V4pSZMG1ruGTd0bsi34O2R0Olg9Zo/w==} engines: {node: '>=10'} requiresBuild: true peerDependencies: @@ -1303,16 +1303,16 @@ packages: '@swc/counter': 0.1.3 '@swc/types': 0.1.17 optionalDependencies: - '@swc/core-darwin-arm64': 1.10.0 - '@swc/core-darwin-x64': 1.10.0 - '@swc/core-linux-arm-gnueabihf': 1.10.0 - '@swc/core-linux-arm64-gnu': 1.10.0 - '@swc/core-linux-arm64-musl': 1.10.0 - '@swc/core-linux-x64-gnu': 1.10.0 - '@swc/core-linux-x64-musl': 1.10.0 - '@swc/core-win32-arm64-msvc': 1.10.0 - '@swc/core-win32-ia32-msvc': 1.10.0 - '@swc/core-win32-x64-msvc': 1.10.0 + '@swc/core-darwin-arm64': 1.10.1 + '@swc/core-darwin-x64': 1.10.1 + '@swc/core-linux-arm-gnueabihf': 1.10.1 + '@swc/core-linux-arm64-gnu': 1.10.1 + '@swc/core-linux-arm64-musl': 1.10.1 + '@swc/core-linux-x64-gnu': 1.10.1 + '@swc/core-linux-x64-musl': 1.10.1 + '@swc/core-win32-arm64-msvc': 1.10.1 + '@swc/core-win32-ia32-msvc': 1.10.1 + '@swc/core-win32-x64-msvc': 1.10.1 dev: false /@swc/counter@0.1.3: From ad1e08dda3ce16d9ac242c51052f2d2af8b7e8d5 Mon Sep 17 00:00:00 2001 From: GitHub Date: Mon, 9 Dec 2024 08:28:02 +0000 Subject: [PATCH 2/2] chore: updated benchmarks --- README.md | 24 +++++++++--------- packages/data/data/data.json | 48 ++++++++++++++++++------------------ 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/README.md b/README.md index f5b1953f..90c9e7b8 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,13 @@ This project benchmarks the following minifiers: - [esbuild](https://github.com/evanw/esbuild) v0.24.0 - [google-closure-compiler](https://github.com/google/closure-compiler-npm/tree/master/packages/google-closure-compiler) v20240317.0.0 - [tedivm/jshrink](https://github.com/tedious/JShrink) v1.7.0 -- [@swc/core](https://github.com/swc-project/swc) v1.10.0 +- [@swc/core](https://github.com/swc-project/swc) v1.10.1 - [@tdewolff/minify](https://github.com/tdewolff/minify#readme) v2.21.2 - [terser](https://github.com/terser/terser) v5.37.0 - [uglify-js](https://github.com/mishoo/UglifyJS) v3.19.3 -_Benchmarks last updated on Dec 5, 2024._ +_Benchmarks last updated on Dec 9, 2024._
@@ -130,7 +130,7 @@ xychart-beta | [moment v2.29.1](https://www.npmjs.com/package/moment/v/2.29.1) ([Source](https://unpkg.com/moment@2.29.1/moment.js)) | `173.90 kB` | `36.23 kB` | | | **Minifier** | **Minified size** | **Minzipped size** | **Time** | | 1. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | **🏆-67% `57.73 kB`** | **🏆-49% `18.57 kB`** | *219x* `1,181 ms` | -| 2. [@swc/core](packages/minifiers/minifiers/swc.ts) | -67% `58.21 kB` | -48% `18.69 kB` | *9x* `49 ms` | +| 2. [@swc/core](packages/minifiers/minifiers/swc.ts) | -67% `58.21 kB` | -48% `18.69 kB` | *9x* `50 ms` | | 3. [terser](packages/minifiers/minifiers/terser.ts) | -66% `59.14 kB` | -48% `18.69 kB` | *125x* `672 ms` | | 4. [google-closure-compiler](packages/minifiers/minifiers/google-closure-compiler.ts) | -66% `58.27 kB` | -48% `18.91 kB` | *718x* `3,856 ms` | | 5. [babel-minify](packages/minifiers/minifiers/babel-minify.ts) | -66% `59.70 kB` | -47% `19.12 kB` | *254x* `1,367 ms` | @@ -168,7 +168,7 @@ xychart-beta | :---------------------------------------------------------------------------------------------------------------------- | -------------------------------: | -------------------------------: | ---------------------------: | | [jquery v3.5.1](https://www.npmjs.com/package/jquery/v/3.5.1) ([Source](https://unpkg.com/jquery@3.5.1/dist/jquery.js)) | `287.63 kB` | `84.50 kB` | | | **Minifier** | **Minified size** | **Minzipped size** | **Time** | -| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | -69% `89.15 kB` | **🏆-63% `30.87 kB`** | *10x* `89 ms` | +| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | -69% `89.15 kB` | **🏆-63% `30.87 kB`** | *10x* `88 ms` | | 2. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | **🏆-69% `88.45 kB`** | -63% `30.90 kB` | *196x* `1,639 ms` | | 3. [terser](packages/minifiers/minifiers/terser.ts) | -69% `89.54 kB` | -63% `30.91 kB` | *107x* `895 ms` | | 4. [@tdewolff/minify](packages/minifiers/minifiers/tdewolff-minify.ts) | -69% `89.85 kB` | -63% `31.47 kB` | **🏆 `8 ms`** | @@ -248,7 +248,7 @@ xychart-beta | **Minifier** | **Minified size** | **Minzipped size** | **Time** | | 1. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | **🏆-87% `68.17 kB`** | **🏆-74% `24.69 kB`** | *148x* `1,756 ms` | | 2. [google-closure-compiler](packages/minifiers/minifiers/google-closure-compiler.ts) | -86% `73.47 kB` | -74% `24.97 kB` | *390x* `4,633 ms` | -| 3. [@swc/core](packages/minifiers/minifiers/swc.ts) | -87% `69.84 kB` | -74% `25.16 kB` | *9x* `112 ms` | +| 3. [@swc/core](packages/minifiers/minifiers/swc.ts) | -87% `69.84 kB` | -74% `25.16 kB` | *9x* `111 ms` | | 4. [terser](packages/minifiers/minifiers/terser.ts) | -87% `70.67 kB` | -74% `25.19 kB` | *78x* `935 ms` | | 5. [babel-minify](packages/minifiers/minifiers/babel-minify.ts) | -87% `72.37 kB` | -74% `25.50 kB` | *163x* `1,940 ms` | | 6. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | -86% `74.61 kB` | -73% `25.86 kB` | *28x* `341 ms` | @@ -286,7 +286,7 @@ xychart-beta | [d3 v6.3.1](https://www.npmjs.com/package/d3/v/6.3.1) ([Source](https://unpkg.com/d3@6.3.1/dist/d3.js)) | `555.77 kB` | `130.69 kB` | | | **Minifier** | **Minified size** | **Minzipped size** | **Time** | | 1. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | **🏆-53% `263.56 kB`** | **🏆-33% `87.02 kB`** | *121x* `4,067 ms` | -| 2. [@swc/core](packages/minifiers/minifiers/swc.ts) | -52% `265.26 kB` | -33% `87.21 kB` | *8x* `279 ms` | +| 2. [@swc/core](packages/minifiers/minifiers/swc.ts) | -52% `265.26 kB` | -33% `87.21 kB` | *8x* `276 ms` | | 3. [terser](packages/minifiers/minifiers/terser.ts) | -52% `267.77 kB` | -33% `88.09 kB` | *67x* `2,264 ms` | | 4. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | -50% `275.35 kB` | -32% `88.32 kB` | *22x* `749 ms` | | 5. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | -50% `276.47 kB` | -32% `89.16 kB` | *30x* `1,007 ms` | @@ -324,7 +324,7 @@ xychart-beta | :----------------------------------------------------------------------------------------------------------------------------- | --------------------------------: | --------------------------------: | ---------------------------: | | [terser v5.30.3](https://www.npmjs.com/package/terser/v/5.30.3) ([Source](https://unpkg.com/terser@5.30.3/dist/bundle.min.js)) | `1.01 MB` | `193.76 kB` | | | **Minifier** | **Minified size** | **Minzipped size** | **Time** | -| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | -55% `455.57 kB` | **🏆-36% `123.08 kB`** | *7x* `246 ms` | +| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | -55% `455.57 kB` | **🏆-36% `123.08 kB`** | *7x* `240 ms` | | 2. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | -55% `451.19 kB` | -36% `123.33 kB` | *123x* `3,878 ms` | | 3. [terser](packages/minifiers/minifiers/terser.ts) | -55% `458.29 kB` | -36% `123.48 kB` | *69x* `2,161 ms` | | 4. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | -53% `474.40 kB` | -36% `124.43 kB` | *30x* `965 ms` | @@ -363,7 +363,7 @@ xychart-beta | :------------------------------------------------------------------------------------------------------------------------- | --------------------------------: | --------------------------------: | --------------------------------: | | [three v0.124.0](https://www.npmjs.com/package/three/v/0.124.0) ([Source](https://unpkg.com/three@0.124.0/build/three.js)) | `1.25 MB` | `248.27 kB` | | | **Minifier** | **Minified size** | **Minzipped size** | **Time** | -| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | -48% `642.91 kB` | **🏆-36% `158.23 kB`** | *8x* `392 ms` | +| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | -48% `642.91 kB` | **🏆-36% `158.23 kB`** | *7x* `364 ms` | | 2. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | **🏆-49% `641.59 kB`** | -36% `159.07 kB` | *107x* `5,130 ms` | | 3. [terser](packages/minifiers/minifiers/terser.ts) | -48% `653.25 kB` | -36% `159.20 kB` | *61x* `2,944 ms` | | 4. [google-closure-compiler](packages/minifiers/minifiers/google-closure-compiler.ts) | -48% `644.45 kB` | -34% `163.00 kB` | *172x* `8,208 ms` | @@ -403,7 +403,7 @@ xychart-beta | [victory v35.8.4](https://www.npmjs.com/package/victory/v/35.8.4) ([Source](https://unpkg.com/victory@35.8.4/dist/victory.js)) | `2.13 MB` | `309.94 kB` | | | **Minifier** | **Minified size** | **Minzipped size** | **Time** | | 1. [uglify-js](packages/minifiers/minifiers/uglify-js.ts) | **🏆-67% `694.78 kB`** | **🏆-49% `157.44 kB`** | *118x* `6,627 ms` | -| 2. [@swc/core](packages/minifiers/minifiers/swc.ts) | -67% `707.21 kB` | -49% `157.80 kB` | *11x* `622 ms` | +| 2. [@swc/core](packages/minifiers/minifiers/swc.ts) | -67% `707.21 kB` | -49% `157.80 kB` | *9x* `529 ms` | | 3. [terser](packages/minifiers/minifiers/terser.ts) | -66% `715.58 kB` | -49% `158.71 kB` | *70x* `3,973 ms` | | 4. [@tdewolff/minify](packages/minifiers/minifiers/tdewolff-minify.ts) | -66% `718.73 kB` | -47% `165.13 kB` | **🏆 `56 ms`** | | 5. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | -64% `759.34 kB` | -46% `166.39 kB` | *28x* `1,607 ms` | @@ -441,7 +441,7 @@ xychart-beta | :----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------: | --------------------------------: | --------------------------------: | | [echarts v5.1.1](https://www.npmjs.com/package/echarts/v/5.1.1) ([Source](https://unpkg.com/echarts@5.1.1/dist/echarts.js)) | `3.20 MB` | `684.61 kB` | | | **Minifier** | **Minified size** | **Minzipped size** | **Time** | -| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | **🏆-69% `993.10 kB`** | **🏆-53% `320.21 kB`** | *9x* `1,127 ms` | +| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | **🏆-69% `993.10 kB`** | **🏆-53% `320.21 kB`** | *8x* `1,043 ms` | | 2. [terser](packages/minifiers/minifiers/terser.ts) | -69% `1.00 MB` | -53% `321.99 kB` | *51x* `6,019 ms` | | 3. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | -66% `1.07 MB` | -52% `330.74 kB` | *22x* `2,631 ms` | | 4. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | -67% `1.07 MB` | -52% `331.41 kB` | *15x* `1,776 ms` | @@ -480,7 +480,7 @@ xychart-beta | :----------------------------------------------------------------------------------------------------------------------------------- | ------------------------------: | --------------------------------: | --------------------------------: | | [antd v4.16.1](https://www.npmjs.com/package/antd/v/4.16.1) ([Source](https://unpkg.com/antd@4.16.1/dist/antd.js)) | `6.67 MB` | `825.18 kB` | | | **Minifier** | **Minified size** | **Minzipped size** | **Time** | -| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | **🏆-68% `2.15 MB`** | **🏆-45% `452.87 kB`** | *9x* `1,324 ms` | +| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | **🏆-68% `2.15 MB`** | **🏆-45% `452.87 kB`** | *9x* `1,303 ms` | | 2. [terser](packages/minifiers/minifiers/terser.ts) | -66% `2.25 MB` | -45% `457.79 kB` | *49x* `6,820 ms` | | 3. [@tdewolff/minify](packages/minifiers/minifiers/tdewolff-minify.ts) | -66% `2.30 MB` | -43% `472.04 kB` | **🏆 `136 ms`** | | 4. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | -64% `2.43 MB` | -42% `475.48 kB` | *22x* `3,060 ms` | @@ -519,7 +519,7 @@ xychart-beta | :------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------: | --------------------------------: | --------------------------------: | | [typescript v4.9.5](https://www.npmjs.com/package/typescript/v/4.9.5) ([Source](https://unpkg.com/typescript@4.9.5/lib/typescript.js)) | `10.95 MB` | `1.88 MB` | | | **Minifier** | **Minified size** | **Minzipped size** | **Time** | -| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | **🏆-70% `3.31 MB`** | **🏆-55% `851.75 kB`** | *10x* `2,738 ms` | +| 1. [@swc/core](packages/minifiers/minifiers/swc.ts) | **🏆-70% `3.31 MB`** | **🏆-55% `851.75 kB`** | *10x* `2,662 ms` | | 2. [uglify-js (no compress)](packages/minifiers/minifiers/uglify-js.ts) | -68% `3.54 MB` | -53% `876.54 kB` | *15x* `3,928 ms` | | 3. [@tdewolff/minify](packages/minifiers/minifiers/tdewolff-minify.ts) | -69% `3.36 MB` | -53% `876.66 kB` | **🏆 `254 ms`** | | 4. [terser (no compress)](packages/minifiers/minifiers/terser.ts) | -68% `3.53 MB` | -53% `879.30 kB` | *20x* `5,178 ms` | diff --git a/packages/data/data/data.json b/packages/data/data/data.json index 80b6d4da..4d0772db 100644 --- a/packages/data/data/data.json +++ b/packages/data/data/data.json @@ -7,12 +7,12 @@ "minified": { "@swc/core": { "minifierPath": "swc.ts", - "version": "1.10.0", + "version": "1.10.1", "result": { "data": { "minifiedSize": 22866, "minzippedSize": 8173, - "time": 20.2904606, + "time": 20.220445, "runs": 5 } } @@ -159,12 +159,12 @@ }, "@swc/core": { "minifierPath": "swc.ts", - "version": "1.10.0", + "version": "1.10.1", "result": { "data": { "minifiedSize": 58213, "minzippedSize": 18687, - "time": 49.4360488, + "time": 49.90696419999999, "runs": 5 } } @@ -287,12 +287,12 @@ "minified": { "@swc/core": { "minifierPath": "swc.ts", - "version": "1.10.0", + "version": "1.10.1", "result": { "data": { "minifiedSize": 89154, "minzippedSize": 30867, - "time": 88.580976, + "time": 87.896144, "runs": 5 } } @@ -427,12 +427,12 @@ "minified": { "@swc/core": { "minifierPath": "swc.ts", - "version": "1.10.0", + "version": "1.10.1", "result": { "data": { "minifiedSize": 115477, "minzippedSize": 42485, - "time": 126.045197, + "time": 125.6362354, "runs": 5 } } @@ -591,12 +591,12 @@ }, "@swc/core": { "minifierPath": "swc.ts", - "version": "1.10.0", + "version": "1.10.1", "result": { "data": { "minifiedSize": 69836, "minzippedSize": 25156, - "time": 111.61433040000001, + "time": 110.503468, "runs": 5 } } @@ -719,12 +719,12 @@ }, "@swc/core": { "minifierPath": "swc.ts", - "version": "1.10.0", + "version": "1.10.1", "result": { "data": { "minifiedSize": 265257, "minzippedSize": 87207, - "time": 278.68087720000005, + "time": 276.2905392, "runs": 5 } } @@ -845,12 +845,12 @@ "minified": { "@swc/core": { "minifierPath": "swc.ts", - "version": "1.10.0", + "version": "1.10.1", "result": { "data": { "minifiedSize": 455566, "minzippedSize": 123076, - "time": 245.9364688, + "time": 240.1031292, "runs": 5 } } @@ -984,12 +984,12 @@ "minified": { "@swc/core": { "minifierPath": "swc.ts", - "version": "1.10.0", + "version": "1.10.1", "result": { "data": { "minifiedSize": 642907, "minzippedSize": 158231, - "time": 392.4594408, + "time": 363.997133, "runs": 5 } } @@ -1133,12 +1133,12 @@ }, "@swc/core": { "minifierPath": "swc.ts", - "version": "1.10.0", + "version": "1.10.1", "result": { "data": { "minifiedSize": 707214, "minzippedSize": 157800, - "time": 621.6494422, + "time": 528.5107638000001, "runs": 5 } } @@ -1256,12 +1256,12 @@ "minified": { "@swc/core": { "minifierPath": "swc.ts", - "version": "1.10.0", + "version": "1.10.1", "result": { "data": { "minifiedSize": 993098, "minzippedSize": 320205, - "time": 1127.2995784, + "time": 1043.1318936, "runs": 5 } } @@ -1386,12 +1386,12 @@ "minified": { "@swc/core": { "minifierPath": "swc.ts", - "version": "1.10.0", + "version": "1.10.1", "result": { "data": { "minifiedSize": 2148557, "minzippedSize": 452866, - "time": 1324.1260026, + "time": 1303.395779, "runs": 5 } } @@ -1514,12 +1514,12 @@ "minified": { "@swc/core": { "minifierPath": "swc.ts", - "version": "1.10.0", + "version": "1.10.1", "result": { "data": { "minifiedSize": 3310240, "minzippedSize": 851747, - "time": 2738.3610364, + "time": 2661.8031188, "runs": 5 } }