swc-project
swc
BlogDocs

perf(es/transform): Add inline annotation

#9690Closed
Comparing
kdy1:perf-common
(
33bbaa1
) with
main
(
4d887d0
)
-93%
Improvements
2
Regressions
185
Untouched
6
New
0
Dropped
1
Ignored
0

Benchmarks

Failed

es/full/all/es3Missing
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es3
N/A
256.2 ms
N/A
es/full/bugs-1Regression
crates/swc/benches/bugs.rs::benches::bench_bugs::es/full/bugs-1
-7%
474.2 µs
509.3 µs
es/full/minify/libraries/antdRegression
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/antd
-7%
4.1 s
4.5 s
es/full/minify/libraries/d3Regression
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/d3
-9%
814.5 ms
890.8 ms
es/full/minify/libraries/echartsRegression
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/echarts
-7%
3.3 s
3.6 s
es/full/minify/libraries/jqueryRegression
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/jquery
-10%
202.9 ms
224.3 ms
es/full/minify/libraries/lodashRegression
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/lodash
-10%
250.2 ms
278.6 ms
es/full/minify/libraries/momentRegression
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/moment
-9%
124.5 ms
137.2 ms
es/full/minify/libraries/reactRegression
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/react
-9%
36.8 ms
40.7 ms
es/full/minify/libraries/terserRegression
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/terser
-9%
627 ms
686.2 ms
es/full/minify/libraries/threeRegression
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/three
-7%
1.3 s
1.4 s
es/full/minify/libraries/typescriptRegression
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/typescript
-8%
6.6 s
7.2 s
es/full/minify/libraries/victoryRegression
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/victory
-7%
1.9 s
2 s
es/full/minify/libraries/vueRegression
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/vue
-10%
293.2 ms
324.8 ms
es/oxc/benches/assets/UserSettings.tsx/sourceMap=false/reactDev=falseRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/UserSettings.tsx/sourceMap=false/reactDev=false
-8%
1.1 ms
1.2 ms
es/oxc/benches/assets/UserSettings.tsx/sourceMap=false/reactDev=trueRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/UserSettings.tsx/sourceMap=false/reactDev=true
-6%
1.3 ms
1.4 ms
es/oxc/benches/assets/UserSettings.tsx/sourceMap=true/reactDev=falseRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/UserSettings.tsx/sourceMap=true/reactDev=false
-8%
1.4 ms
1.5 ms
es/oxc/benches/assets/UserSettings.tsx/sourceMap=true/reactDev=trueRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/UserSettings.tsx/sourceMap=true/reactDev=true
-6%
1.6 ms
1.7 ms
es/oxc/benches/assets/parser.ts/sourceMap=false/reactDev=falseRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/parser.ts/sourceMap=false/reactDev=false
-9%
76.8 ms
84.2 ms
es/oxc/benches/assets/parser.ts/sourceMap=false/reactDev=trueRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/parser.ts/sourceMap=false/reactDev=true
-9%
76.8 ms
84.4 ms
es/oxc/benches/assets/parser.ts/sourceMap=true/reactDev=falseRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/parser.ts/sourceMap=true/reactDev=false
-7%
107.2 ms
115.6 ms
es/oxc/benches/assets/parser.ts/sourceMap=true/reactDev=trueRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/parser.ts/sourceMap=true/reactDev=true
-7%
106.7 ms
114.5 ms
es/oxc/benches/assets/renderer.ts/sourceMap=false/reactDev=falseRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/renderer.ts/sourceMap=false/reactDev=false
-9%
12.6 ms
13.8 ms
es/oxc/benches/assets/renderer.ts/sourceMap=false/reactDev=trueRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/renderer.ts/sourceMap=false/reactDev=true
-9%
12.6 ms
13.9 ms
es/oxc/benches/assets/renderer.ts/sourceMap=true/reactDev=falseRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/renderer.ts/sourceMap=true/reactDev=false
-8%
17 ms
18.5 ms
es/oxc/benches/assets/renderer.ts/sourceMap=true/reactDev=trueRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/renderer.ts/sourceMap=true/reactDev=true
-8%
16.9 ms
18.4 ms
es/oxc/benches/assets/table.tsx/sourceMap=false/reactDev=falseRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/table.tsx/sourceMap=false/reactDev=false
-9%
6.9 ms
7.6 ms
es/oxc/benches/assets/table.tsx/sourceMap=false/reactDev=trueRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/table.tsx/sourceMap=false/reactDev=true
-9%
7.8 ms
8.5 ms
es/oxc/benches/assets/table.tsx/sourceMap=true/reactDev=falseRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/table.tsx/sourceMap=true/reactDev=false
-8%
9.1 ms
9.8 ms
es/oxc/benches/assets/table.tsx/sourceMap=true/reactDev=trueRegression
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/table.tsx/sourceMap=true/reactDev=true
-7%
10.1 ms
10.9 ms
es/full/base/fixerRegression
crates/swc/benches/typescript.rs::benches::base_tr_group::es/full/base/fixer
-93%
116.4 µs
1,643.5 µs
es/full/codegen/es2015Regression
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2015
-93%
253.3 µs
3,742.3 µs
es/full/codegen/es2016Regression
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2016
-93%
255.8 µs
3,742.2 µs
es/full/codegen/es2017Regression
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2017
-93%
253.4 µs
3,714 µs
es/full/codegen/es2018Regression
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2018
-93%
255.6 µs
3,706.6 µs
es/full/codegen/es2019Regression
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2019
-93%
253.2 µs
3,710.4 µs
es/full/codegen/es2020Regression
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2020
-93%
253.3 µs
3,710.7 µs
es/full/codegen/es3Regression
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es3
-93%
253.2 µs
3,711.6 µs
es/full/codegen/es5Regression
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es5
-93%
253.2 µs
3,758.1 µs
es/full/all/es2015Regression
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2015
-89%
192.2 ms
1,692.6 ms
es/full/all/es2016Regression
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2016
-89%
190.5 ms
1,666.8 ms
es/full/all/es2017Regression
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2017
-89%
190 ms
1,657.2 ms
es/full/all/es2018Regression
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2018
-88%
188.3 ms
1,620.7 ms
es/full/all/es2019Regression
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2019
-88%
187.4 ms
1,611.2 ms
es/full/all/es2020Regression
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2020
-88%
180.7 ms
1,568.6 ms
es/full/all/es5Regression
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es5
-89%
249.8 ms
2,224.5 ms
es/full/parserRegression
crates/swc/benches/typescript.rs::benches::parser_group::es/full/parser
-82%
1.5 ms
8.1 ms
common/allocator/alloc/cached-no-scope/1000000Regression
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/cached-no-scope/1000000
-14%
111.6 ms
129.5 ms
common/allocator/alloc/no-scope/1000000Regression
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/no-scope/1000000
-15%
112.7 ms
133 ms
common/allocator/alloc/std/1000000Regression
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/std/1000000
-21%
86.7 ms
109.2 ms
deserialization of serdeRegression
crates/swc_common/benches/serde.rs::benches::bench_serde::deserialization of serde
-11%
2.4 µs
2.7 µs
serialization of serdeRegression
crates/swc_common/benches/serde.rs::benches::bench_serde::serialization of serde
-9%
2.8 µs
3 µs
bootstrapRegression
crates/swc_css_minifier/benches/full.rs::files::bench_files::css/minify/libraries::bootstrap
-14%
65.9 ms
76.5 ms
css/visitor/compare/cloneRegression
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/clone
-14%
6 ms
7 ms
css/visitor/compare/fold_spanRegression
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/fold_span
-13%
7 ms
8 ms
css/visitor/compare/fold_span_panicRegression
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/fold_span_panic
-13%
6.9 ms
8 ms
css/visitor/compare/visit_mut_spanRegression
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/visit_mut_span
-14%
6.4 ms
7.4 ms
css/visitor/compare/visit_mut_span_panicRegression
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/visit_mut_span_panic
-14%
6.4 ms
7.4 ms
css/lexer/bootstrap_5_1_3Regression
crates/swc_css_parser/benches/lexer.rs::benches::bench_files::css/lexer/bootstrap_5_1_3
-10%
9.5 ms
10.6 ms
css/lexer/foundation_6_7_4Regression
crates/swc_css_parser/benches/lexer.rs::benches::bench_files::css/lexer/foundation_6_7_4
-10%
7.6 ms
8.4 ms
css/lexer/tailwind_3_1_1Regression
crates/swc_css_parser/benches/lexer.rs::benches::bench_files::css/lexer/tailwind_3_1_1
-10%
1.5 ms
1.7 ms
css/parser/bootstrap_5_1_3Regression
crates/swc_css_parser/benches/parser.rs::benches::bench_files::css/parser/bootstrap_5_1_3
-15%
50.5 ms
59.5 ms
css/parser/foundation_6_7_4Regression
crates/swc_css_parser/benches/parser.rs::benches::bench_files::css/parser/foundation_6_7_4
-15%
40 ms
46.9 ms
css/parser/tailwind_3_1_1Regression
crates/swc_css_parser/benches/parser.rs::benches::bench_files::css/parser/tailwind_3_1_1
-14%
7.8 ms
9 ms
es/codegen/colorsRegression
crates/swc_ecma_codegen/benches/bench.rs::benches::bench_cases::es/codegen/colors
-3%
69.8 µs
72 µs
es/codegen/with-parser/colorsRegression
crates/swc_ecma_codegen/benches/with_parse.rs::benches::bench_cases::es/codegen/with-parser/colors
-5%
200.5 µs
212 µs
es/codegen/with-parser/largeRegression
crates/swc_ecma_codegen/benches/with_parse.rs::benches::bench_cases::es/codegen/with-parser/large
-5%
1.5 ms
1.6 ms
es/minifier/libs/antdRegression
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/antd
-8%
3.4 s
3.6 s
es/minifier/libs/d3Regression
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/d3
-9%
668.1 ms
736.9 ms
es/minifier/libs/echartsRegression
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/echarts
-8%
2.6 s
2.8 s
es/minifier/libs/jqueryRegression
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/jquery
-10%
160 ms
177 ms
es/minifier/libs/lodashRegression
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/lodash
-11%
219.2 ms
245 ms
es/minifier/libs/momentRegression
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/moment
-10%
99.2 ms
109.9 ms
es/minifier/libs/reactRegression
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/react
-10%
31.4 ms
34.9 ms
es/minifier/libs/terserRegression
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/terser
-9%
494.6 ms
544.8 ms
es/minifier/libs/threeRegression
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/three
-7%
996 ms
1,076.3 ms
es/minifier/libs/typescriptRegression
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/typescript
-8%
5.7 s
6.2 s
es/minifier/libs/victoryRegression
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/victory
-8%
1.5 s
1.6 s
es/minifier/libs/vueRegression
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/vue
-10%
242.7 ms
269.8 ms
es/visitor/compare/cloneRegression
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/clone
-9%
6.8 ms
7.5 ms
es/visitor/compare/fold_spanRegression
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/fold_span
-8%
8 ms
8.7 ms
es/visitor/compare/fold_span_panicRegression
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/fold_span_panic
-9%
8 ms
8.8 ms
es/visitor/compare/visit_mut_spanRegression
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/visit_mut_span
-9%
7.2 ms
8 ms
es/visitor/compare/visit_mut_span_panicRegression
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/visit_mut_span_panic
-9%
7.2 ms
8 ms
es/lexer/angularRegression
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/angular
-5%
14.5 ms
15.2 ms
es/lexer/backboneRegression
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/backbone
-6%
1.8 ms
1.9 ms
es/lexer/cal-comRegression
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/cal-com
-7%
36.5 ms
39.1 ms
es/lexer/colorsRegression
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/colors
-7%
47.3 µs
51 µs
es/lexer/jqueryRegression
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/jquery
-7%
9.3 ms
10 ms
es/lexer/jquery mobileRegression
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/jquery mobile
-6%
14.5 ms
15.5 ms
es/lexer/mootoolsRegression
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/mootools
-7%
7.4 ms
8 ms
es/lexer/threeRegression
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/three
-7%
45.1 ms
48.5 ms
es/lexer/typescriptRegression
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/typescript
-7%
250.7 ms
268.8 ms
es/lexer/underscoreRegression
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/underscore
-6%
1.5 ms
1.6 ms
es/lexer/yuiRegression
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/yui
-6%
8.2 ms
8.7 ms
es/parser/angularRegression
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/angular
-7%
34.7 ms
37.2 ms
es/parser/backboneRegression
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/backbone
-7%
5.2 ms
5.6 ms
es/parser/cal-comRegression
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/cal-com
-7%
101 ms
109 ms
es/parser/colorsRegression
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/colors
-6%
133.2 µs
142 µs
es/parser/jqueryRegression
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/jquery
-7%
26.6 ms
28.7 ms
es/parser/jquery mobileRegression
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/jquery mobile
-8%
40.8 ms
44.1 ms
es/parser/mootoolsRegression
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/mootools
-7%
21.1 ms
22.8 ms
es/parser/threeRegression
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/three
-7%
125.5 ms
135.1 ms
es/parser/typescriptRegression
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/typescript
-7%
725.3 ms
779.5 ms
es/parser/underscoreRegression
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/underscore
-7%
4.5 ms
4.8 ms
es/parser/yuiRegression
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/yui
-7%
20.8 ms
22.4 ms
es/preset-env/usage/builtin_typeRegression
crates/swc_ecma_preset_env/benches/polyfills.rs::benches::bench_cases::es/preset-env/usage/builtin_type
-6%
253.5 µs
269.6 µs
es/preset-env/usage/propertyRegression
crates/swc_ecma_preset_env/benches/polyfills.rs::benches::bench_cases::es/preset-env/usage/property
-5%
117 µs
123.3 µs
es/fixer/typescriptRegression
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases::es/fixer/typescript
-8%
221.8 ms
242 ms
es/hygiene/typescriptRegression
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases::es/hygiene/typescript
-8%
559.5 ms
605.7 ms
es/resolver/typescriptRegression
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases::es/resolver/typescript
-8%
266.6 ms
289 ms
es/resolver_with_hygiene/typescriptRegression
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases::es/resolver_with_hygiene/typescript
-7%
874.2 ms
942 ms
es/visitor/base-perf/boxing_boxed_cloneRegression
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/boxing_boxed_clone
-5%
2.4 µs
2.5 µs
es/visitor/base-perf/fold_emptyRegression
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/fold_empty
-3%
327.5 µs
338.9 µs
es/visitor/base-perf/fold_noop_impl_allRegression
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/fold_noop_impl_all
-3%
327.7 µs
338.4 µs
es/visitor/base-perf/fold_noop_impl_vecRegression
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/fold_noop_impl_vec
-4%
327.2 µs
339.9 µs
es/visitor/base-perf/module_cloneRegression
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/module_clone
-4%
327.1 µs
339.4 µs
hygiene/typescriptRegression
crates/swc_ecma_transforms_base/benches/parallel.rs::benches::bench_cases::es/base/parallel::hygiene/typescript
-8%
28.1 s
30.4 s
resolver/typescriptRegression
crates/swc_ecma_transforms_base/benches/parallel.rs::benches::bench_cases::es/base/parallel::resolver/typescript
-8%
13.6 s
14.7 s
es/transform/baseline/baseRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::baseline_group::es/transform/baseline/base
-4%
261.6 µs
271.4 µs
es/transform/baseline/common_typescriptRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::baseline_group::es/transform/baseline/common_typescript
-8%
369.7 µs
401 µs
es/full-target/es2016Regression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::full_group::es/full-target/es2016
-8%
574.6 µs
624.3 µs
es/full-target/es2017Regression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::full_group::es/full-target/es2017
-8%
535.2 µs
580.8 µs
es/full-target/es2018Regression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::full_group::es/full-target/es2018
-8%
520.9 µs
563.5 µs
es2015_arrowRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_arrow
-3%
307 µs
317.9 µs
es2015_block_scoped_fnRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_block_scoped_fn
-3%
293.9 µs
304.4 µs
es2015_block_scopingRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_block_scoping
-5%
456.9 µs
482.9 µs
es2015_classesRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_classes
-5%
393.1 µs
414.9 µs
es2015_computed_propsRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_computed_props
-3%
276.4 µs
286.1 µs
es2015_destructuringRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_destructuring
-4%
350.2 µs
365.1 µs
es2015_duplicate_keysRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_duplicate_keys
-5%
284.4 µs
299.7 µs
es2015_fn_nameRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_fn_name
-4%
287.6 µs
299.7 µs
es2015_for_ofRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_for_of
-3%
293.6 µs
303.8 µs
es2015_instanceofRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_instanceof
-5%
281.5 µs
297.7 µs
es2015_parametersRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_parameters
-5%
341.1 µs
357.3 µs
es2015_shorthand_propertyRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_shorthand_property
-4%
275.4 µs
285.9 µs
es2015_spreadRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_spread
-4%
275.9 µs
286.2 µs
es2015_sticky_regexRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_sticky_regex
-5%
278.3 µs
293.4 µs
es2015_typeof_symbolRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_typeof_symbol
-6%
279.2 µs
295.7 µs
es2016_exponentiationRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2016_exponentiation
-5%
294.2 µs
309 µs
es2017_async_to_generatorRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2017_async_to_generator
-4%
274.7 µs
286.1 µs
es2018_object_rest_spreadRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2018_object_rest_spread
-5%
293.8 µs
308.3 µs
es2019_optional_catch_bindingRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2019_optional_catch_binding
-4%
274.8 µs
285.1 µs
es2020_nullish_coalescingRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2020_nullish_coalescing
-5%
301.9 µs
317.6 µs
es2020_optional_chainingRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2020_optional_chaining
-4%
338.8 µs
353.8 µs
es2022_class_propertiesRegression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2022_class_properties
-4%
387.3 µs
405.4 µs
es/target/es2015Regression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2015
-8%
1.2 ms
1.3 ms
es/target/es2016Regression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2016
-4%
297.9 µs
310.9 µs
es/target/es2017Regression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2017
-4%
276.7 µs
287.4 µs
es/target/es2018Regression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2018
-6%
310 µs
331.2 µs
es/target/es2020Regression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2020
-6%
458 µs
488.5 µs
es/target/es3Regression
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es3
-3%
414.2 µs
428.4 µs
babelify-onlyRegression
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::babelify-only
-7%
2.1 ms
2.2 ms
parse_and_babelify_angularRegression
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_angular
-13%
160.8 ms
185.1 ms
parse_and_babelify_backboneRegression
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_backbone
-7%
17.5 ms
18.8 ms
parse_and_babelify_jqueryRegression
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_jquery
-6%
108.6 ms
115.8 ms
parse_and_babelify_jquery_mobileRegression
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_jquery_mobile
-7%
182.5 ms
195.6 ms
parse_and_babelify_mootoolsRegression
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_mootools
-7%
80.5 ms
86.3 ms
parse_and_babelify_underscoreRegression
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_underscore
-7%
15.1 ms
16.3 ms
parse_and_babelify_yuiRegression
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_yui
-6%
75.4 ms
80.5 ms
typescript/fast-stripRegression
crates/swc_fast_ts_strip/benches/assets.rs::benches::fast_ts::typescript/fast-strip
-5%
776.2 µs
819.9 µs
css_specRegression
crates/swc_html_minifier/benches/full.rs::files_document::bench_files_document::html/minify/document::css_spec
-5%
208.7 ms
220.6 ms
githubRegression
crates/swc_html_minifier/benches/full.rs::files_document::bench_files_document::html/minify/document::github
-11%
44.6 ms
50.3 ms
stackoverflowRegression
crates/swc_html_minifier/benches/full.rs::files_document::bench_files_document::html/minify/document::stackoverflow
-9%
40.1 ms
44.1 ms
css_specRegression
crates/swc_html_minifier/benches/full.rs::files_document_fragment::bench_files_document_fragment::html/minify/document_fragment::css_spec
-5%
202.7 ms
214.3 ms
githubRegression
crates/swc_html_minifier/benches/full.rs::files_document_fragment::bench_files_document_fragment::html/minify/document_fragment::github
-12%
43.5 ms
49.2 ms
stackoverflowRegression
crates/swc_html_minifier/benches/full.rs::files_document_fragment::bench_files_document_fragment::html/minify/document_fragment::stackoverflow
-9%
39.2 ms
43.2 ms
html/document/visitor/compare/cloneRegression
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/clone
-14%
1.1 ms
1.3 ms
html/document/visitor/compare/fold_spanRegression
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/fold_span
-15%
1.3 ms
1.5 ms
html/document/visitor/compare/fold_span_panicRegression
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/fold_span_panic
-15%
1.3 ms
1.5 ms
html/document/visitor/compare/visit_mut_spanRegression
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/visit_mut_span
-13%
1.2 ms
1.4 ms
html/document/visitor/compare/visit_mut_span_panicRegression
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/visit_mut_span_panic
-13%
1.2 ms
1.4 ms
html/document_fragment/visitor/compare/cloneRegression
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document_fragment/visitor/compare/clone
-14%
1.1 ms
1.3 ms
html/document_fragment/visitor/compare/fold_spanRegression
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document_fragment/visitor/compare/fold_span
-15%
1.3 ms
1.5 ms
html/document_fragment/visitor/compare/fold_span_panicRegression
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document_fragment/visitor/compare/fold_span_panic
-15%
1.3 ms
1.5 ms
html/document_fragment/visitor/compare/visit_mut_spanRegression
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document_fragment/visitor/compare/visit_mut_span
-13%
1.2 ms
1.4 ms
html/document_fragment/visitor/compare/visit_mut_span_panicRegression
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document_fragment/visitor/compare/visit_mut_span_panic
-12%
1.2 ms
1.4 ms
html/lexer/css_2021_specRegression
crates/swc_html_parser/benches/lexer.rs::benches::bench_files::html/lexer/css_2021_spec
-8%
41.1 ms
44.8 ms
html/lexer/github_com_17_05_2022Regression
crates/swc_html_parser/benches/lexer.rs::benches::bench_files::html/lexer/github_com_17_05_2022
-9%
15.1 ms
16.6 ms
html/lexer/stackoverflow_com_17_05_2022Regression
crates/swc_html_parser/benches/lexer.rs::benches::bench_files::html/lexer/stackoverflow_com_17_05_2022
-7%
14.9 ms
16.1 ms
html/parser/parser_document/css_2021_specRegression
crates/swc_html_parser/benches/parser.rs::benches::bench_files::html/parser/parser_document/css_2021_spec
-8%
76.9 ms
83.4 ms
html/parser/parser_document/github_com_17_05_2022Regression
crates/swc_html_parser/benches/parser.rs::benches::bench_files::html/parser/parser_document/github_com_17_05_2022
-9%
24.1 ms
26.4 ms
html/parser/parser_document/stackoverflow_com_17_05_2022Regression
crates/swc_html_parser/benches/parser.rs::benches::bench_files::html/parser/parser_document/stackoverflow_com_17_05_2022
-6%
23 ms
24.5 ms
html/parser/parser_document_fragment/css_2021_specRegression
crates/swc_html_parser/benches/parser.rs::benches::bench_files::html/parser/parser_document_fragment/css_2021_spec
-8%
76.1 ms
82.5 ms
html/parser/parser_document_fragment/github_com_17_05_2022Regression
crates/swc_html_parser/benches/parser.rs::benches::bench_files::html/parser/parser_document_fragment/github_com_17_05_2022
-9%
24 ms
26.3 ms
html/parser/parser_document_fragment/stackoverflow_com_17_05_2022Regression
crates/swc_html_parser/benches/parser.rs::benches::bench_files::html/parser/parser_document_fragment/stackoverflow_com_17_05_2022
-6%
22.8 ms
24.4 ms

Improved

common/allocator/alloc/cached-scoped/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/cached-scoped/1000000
+7%
52.4 ms
48.8 ms
es/visitor/base-perf/boxing_boxed
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/boxing_boxed
+5%
3.4 µs
3.2 µs

Passed

es/visitor/base-perf/boxing_unboxed
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/boxing_unboxed
+1%
3.5 µs
3.5 µs
es/visitor/base-perf/visit_contains_this
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/visit_contains_this
0%
47.6 µs
47.4 µs
common/allocator/alloc/scoped/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/scoped/1000000
-1%
52.7 ms
53 ms
es/codegen/large
crates/swc_ecma_codegen/benches/bench.rs::benches::bench_cases::es/codegen/large
-1%
681.8 µs
687.1 µs
es/visitor/base-perf/boxing_unboxed_clone
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/boxing_unboxed_clone
-2%
2.7 µs
2.7 µs
es/transform/baseline/common_reserved_word
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::baseline_group::es/transform/baseline/common_reserved_word
-3%
288.2 µs
295.9 µs

Commits

Click on a commit to change the comparison range
Base
main
4d887d0
-93%
Benchmark
33bbaa1
28 days ago
by kdy1
Home Terms PrivacyDocs