Avatar for the swc-project user
swc-project
swc
BlogDocs

refactor(es/codegen): Revert #9248

#9266Merged
Comparing
kdy1:revert-codegen
(
71ebdbe
) with
kdy1:revert-codegen
(
c5edddb
)
0%
Improvements
0
Regressions
0
Untouched
178
New
0
Dropped
0
Ignored
0

Benchmarks

Passed

es/full/bugs-1
crates/swc/benches/bugs.rs::benches::bench_bugs::es/full/bugs-1
+5%
602.4 µs
574.3 µs
common/allocator/alloc/cached-no-scope/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/cached-no-scope/1000000
+1%
128.4 ms
127 ms
deserialization of serde
crates/swc_common/benches/serde.rs::benches::bench_serde::deserialization of serde
+1%
2.7 µs
2.7 µs
es/full/codegen/es2019
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2019
0%
287.6 µs
286.3 µs
es/full/minify/libraries/three
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/three
0%
1.4 s
1.4 s
parse_and_babelify_underscore
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_underscore
0%
17.3 ms
17.2 ms
es/full/codegen/es2016
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2016
0%
294.8 µs
293.6 µs
parse_and_babelify_backbone
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_backbone
0%
20.1 ms
20 ms
es/full/all/es2015
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2015
0%
237.2 ms
236.5 ms
es/parser/mootools
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/mootools
0%
22.9 ms
22.9 ms
html/document_fragment/visitor/compare/clone
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document_fragment/visitor/compare/clone
0%
1.3 ms
1.3 ms
parse_and_babelify_jquery_mobile
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_jquery_mobile
0%
207.5 ms
207.1 ms
es/full/all/es2020
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2020
0%
224 ms
223.6 ms
html/parser/parser_document_fragment/stackoverflow_com_17_05_2022
crates/swc_html_parser/benches/parser.rs::benches::bench_files::html/parser/parser_document_fragment/stackoverflow_com_17_05_2022
0%
24.5 ms
24.4 ms
es/full/all/es2018
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2018
0%
232.5 ms
232.2 ms
es/full/all/es2017
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2017
0%
235 ms
234.7 ms
css_spec
crates/swc_html_minifier/benches/full.rs::files_document_fragment::bench_files_document_fragment::html/minify/document_fragment::css_spec
0%
213.7 ms
213.4 ms
hygiene/typescript
crates/swc_ecma_transforms_base/benches/parallel.rs::benches::bench_cases::es/base/parallel::hygiene/typescript
0%
30.2 s
30.2 s
es/minifier/libs/lodash
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/lodash
0%
254.6 ms
254.3 ms
es/full/all/es2016
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2016
0%
235.3 ms
235.1 ms
es/parser/cal-com
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/cal-com
0%
110.4 ms
110.3 ms
html/parser/parser_document_fragment/css_2021_spec
crates/swc_html_parser/benches/parser.rs::benches::bench_files::html/parser/parser_document_fragment/css_2021_spec
0%
82.6 ms
82.5 ms
es/full/all/es5
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es5
0%
302.9 ms
302.7 ms
stackoverflow
crates/swc_html_minifier/benches/full.rs::files_document_fragment::bench_files_document_fragment::html/minify/document_fragment::stackoverflow
0%
43 ms
43 ms
es/full/minify/libraries/victory
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/victory
0%
2.1 s
2.1 s
es/resolver_with_hygiene/typescript
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases::es/resolver_with_hygiene/typescript
0%
961.1 ms
960.5 ms
es/full/all/es3
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es3
0%
314.1 ms
313.9 ms
es/minifier/libs/vue
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/vue
0%
279 ms
278.8 ms
es/visitor/compare/visit_mut_span_panic
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/visit_mut_span_panic
0%
7.9 ms
7.9 ms
es/parser/backbone
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/backbone
0%
5.6 ms
5.6 ms
es/minifier/libs/three
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/three
0%
1.1 s
1.1 s
parse_and_babelify_yui
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_yui
0%
84.1 ms
84.1 ms
es/full/codegen/es2017
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2017
0%
290.1 µs
290 µs
common/allocator/alloc/std/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/std/1000000
0%
108.2 ms
108.2 ms
es/full/minify/libraries/vue
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/vue
0%
336.5 ms
336.4 ms
resolver/typescript
crates/swc_ecma_transforms_base/benches/parallel.rs::benches::bench_cases::es/base/parallel::resolver/typescript
0%
15.1 s
15.1 s
common/allocator/alloc/cached-scoped/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/cached-scoped/1000000
0%
49.3 ms
49.3 ms
es/minifier/libs/react
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/react
0%
36.4 ms
36.4 ms
es/minifier/libs/antd
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/antd
0%
3.7 s
3.7 s
es/preset-env/usage/property
crates/swc_ecma_preset_env/benches/polyfills.rs::benches::bench_cases::es/preset-env/usage/property
0%
132 µs
132 µs
es/full/codegen/es5
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es5
0%
288 µs
287.9 µs
html/parser/parser_document/stackoverflow_com_17_05_2022
crates/swc_html_parser/benches/parser.rs::benches::bench_files::html/parser/parser_document/stackoverflow_com_17_05_2022
0%
24.5 ms
24.5 ms
es/preset-env/usage/builtin_type
crates/swc_ecma_preset_env/benches/polyfills.rs::benches::bench_cases::es/preset-env/usage/builtin_type
0%
302.9 µs
302.9 µs
es/codegen/with-parser/large
crates/swc_ecma_codegen/benches/with_parse.rs::benches::bench_cases::es/codegen/with-parser/large
0%
1.7 ms
1.7 ms
github
crates/swc_html_minifier/benches/full.rs::files_document_fragment::bench_files_document_fragment::html/minify/document_fragment::github
0%
49 ms
48.9 ms
es2022_class_properties
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2022_class_properties
0%
436 µs
435.9 µs
es2015_parameters
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_parameters
0%
358.5 µs
358.5 µs
github
crates/swc_html_minifier/benches/full.rs::files_document::bench_files_document::html/minify/document::github
0%
50.1 ms
50.1 ms
es/fixer/typescript
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases::es/fixer/typescript
0%
242.2 ms
242.2 ms
es/full/codegen/es3
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es3
0%
287.2 µs
287.1 µs
es/full-target/es2018
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::full_group::es/full-target/es2018
0%
597.8 µs
597.8 µs
es/full/minify/libraries/d3
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/d3
0%
929.5 ms
929.4 ms
css/visitor/compare/fold_span_panic
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/fold_span_panic
0%
8.7 ms
8.7 ms
es2015_duplicate_keys
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_duplicate_keys
0%
298.4 µs
298.4 µs
stackoverflow
crates/swc_html_minifier/benches/full.rs::files_document::bench_files_document::html/minify/document::stackoverflow
0%
43.9 ms
43.9 ms
html/document_fragment/visitor/compare/fold_span
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document_fragment/visitor/compare/fold_span
0%
1.4 ms
1.4 ms
html/document_fragment/visitor/compare/fold_span_panic
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document_fragment/visitor/compare/fold_span_panic
0%
1.4 ms
1.4 ms
es2019_optional_catch_binding
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2019_optional_catch_binding
0%
282.7 µs
282.6 µs
es/transform/baseline/common_reserved_word
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::baseline_group::es/transform/baseline/common_reserved_word
0%
291.7 µs
291.7 µs
es/visitor/compare/fold_span_panic
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/fold_span_panic
0%
10.1 ms
10.1 ms
es/parser/colors
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/colors
0%
142.5 µs
142.5 µs
es2015_computed_props
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_computed_props
0%
285.6 µs
285.6 µs
es/target/es2015
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2015
0%
1.4 ms
1.4 ms
es/parser/typescript
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/typescript
0%
783.3 ms
783.3 ms
es/minifier/libs/echarts
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/echarts
0%
2.9 s
2.9 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%
48.3 µs
48.3 µs
es2015_sticky_regex
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_sticky_regex
0%
293.1 µs
293.1 µs
es2015_for_of
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_for_of
0%
304.5 µs
304.5 µs
es2018_object_rest_spread
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2018_object_rest_spread
0%
306.6 µs
306.6 µs
es/full-target/es2016
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::full_group::es/full-target/es2016
0%
656.3 µs
656.3 µs
es2015_typeof_symbol
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_typeof_symbol
0%
294 µs
294 µs
es2015_instanceof
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_instanceof
0%
296.5 µs
296.5 µs
es2016_exponentiation
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2016_exponentiation
0%
308.2 µs
308.2 µs
es2020_nullish_coalescing
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2020_nullish_coalescing
0%
316.4 µs
316.4 µs
es/target/es2018
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2018
0%
331.3 µs
331.3 µs
es2015_block_scoped_fn
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_block_scoped_fn
0%
302.3 µs
302.3 µs
css/parser/tailwind_3_1_1
crates/swc_css_parser/benches/parser.rs::benches::bench_files::css/parser/tailwind_3_1_1
0%
9.1 ms
9.1 ms
es2015_shorthand_property
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_shorthand_property
0%
285.4 µs
285.4 µs
es2015_destructuring
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_destructuring
0%
363.4 µs
363.4 µs
es/transform/baseline/base
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::baseline_group::es/transform/baseline/base
0%
269.4 µs
269.4 µs
es/parser/jquery
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/jquery
0%
28.9 ms
28.9 ms
es/lexer/three
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/three
0%
52 ms
52 ms
es/parser/angular
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/angular
0%
37.7 ms
37.7 ms
es/lexer/cal-com
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/cal-com
0%
42.2 ms
42.2 ms
css/lexer/bootstrap_5_1_3
crates/swc_css_parser/benches/lexer.rs::benches::bench_files::css/lexer/bootstrap_5_1_3
0%
11.6 ms
11.6 ms
css/visitor/compare/clone
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/clone
0%
7 ms
7 ms
es/lexer/angular
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/angular
0%
16.5 ms
16.5 ms
es/lexer/jquery mobile
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/jquery mobile
0%
16.7 ms
16.7 ms
html/document_fragment/visitor/compare/visit_mut_span_panic
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document_fragment/visitor/compare/visit_mut_span_panic
0%
1.3 ms
1.3 ms
css/lexer/foundation_6_7_4
crates/swc_css_parser/benches/lexer.rs::benches::bench_files::css/lexer/foundation_6_7_4
0%
9.3 ms
9.3 ms
css/lexer/tailwind_3_1_1
crates/swc_css_parser/benches/lexer.rs::benches::bench_files::css/lexer/tailwind_3_1_1
0%
1.8 ms
1.8 ms
es/lexer/colors
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/colors
0%
53.4 µs
53.4 µs
es/visitor/base-perf/boxing_unboxed
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/boxing_unboxed
0%
4 µs
4 µs
es/visitor/base-perf/fold_empty
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/fold_empty
0%
336.1 µs
336.1 µs
es2017_async_to_generator
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2017_async_to_generator
0%
286 µs
286 µs
es/target/es2016
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2016
0%
310.6 µs
310.6 µs
html/lexer/css_2021_spec
crates/swc_html_parser/benches/lexer.rs::benches::bench_files::html/lexer/css_2021_spec
0%
44.6 ms
44.6 ms
es/lexer/backbone
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/backbone
0%
2.1 ms
2.1 ms
es/lexer/underscore
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/underscore
0%
1.7 ms
1.7 ms
css/visitor/compare/visit_mut_span
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/visit_mut_span
0%
7.4 ms
7.4 ms
html/lexer/stackoverflow_com_17_05_2022
crates/swc_html_parser/benches/lexer.rs::benches::bench_files::html/lexer/stackoverflow_com_17_05_2022
0%
16.1 ms
16.1 ms
html/lexer/github_com_17_05_2022
crates/swc_html_parser/benches/lexer.rs::benches::bench_files::html/lexer/github_com_17_05_2022
0%
16.7 ms
16.7 ms
es/target/es2017
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2017
0%
288 µs
288 µs
bootstrap
crates/swc_css_minifier/benches/full.rs::files::bench_files::css/minify/libraries::bootstrap
0%
76.9 ms
76.9 ms
es2015_arrow
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_arrow
0%
316.5 µs
316.5 µs
es2015_block_scoping
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_block_scoping
0%
484 µs
484 µs
html/document/visitor/compare/fold_span
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/fold_span
0%
1.4 ms
1.4 ms
html/document/visitor/compare/fold_span_panic
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/fold_span_panic
0%
1.4 ms
1.4 ms
es/resolver/typescript
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases::es/resolver/typescript
0%
295.1 ms
295.1 ms
html/document/visitor/compare/visit_mut_span
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/visit_mut_span
0%
1.3 ms
1.3 ms
es2020_optional_chaining
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2020_optional_chaining
0%
351.1 µs
351.1 µs
es/visitor/base-perf/module_clone
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/module_clone
0%
336.2 µs
336.2 µs
es/codegen/with-parser/colors
crates/swc_ecma_codegen/benches/with_parse.rs::benches::bench_cases::es/codegen/with-parser/colors
0%
221.7 µs
221.7 µs
es/visitor/base-perf/fold_noop_impl_all
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/fold_noop_impl_all
0%
336.7 µs
336.7 µs
es/lexer/jquery
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/jquery
0%
10.7 ms
10.7 ms
html/document/visitor/compare/visit_mut_span_panic
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/visit_mut_span_panic
0%
1.3 ms
1.3 ms
es/codegen/large
crates/swc_ecma_codegen/benches/bench.rs::benches::bench_cases::es/codegen/large
0%
2.3 ms
2.3 ms
es2015_classes
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_classes
0%
432.6 µs
432.6 µs
html/document_fragment/visitor/compare/visit_mut_span
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document_fragment/visitor/compare/visit_mut_span
0%
1.3 ms
1.3 ms
es/minifier/libs/typescript
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/typescript
0%
6.4 s
6.4 s
typescript/fast-strip
crates/swc_fast_ts_strip/benches/assets.rs::benches::fast_ts::typescript/fast-strip
0%
745.5 µs
745.5 µs
css/visitor/compare/fold_span
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/fold_span
0%
8.8 ms
8.8 ms
html/document/visitor/compare/clone
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/clone
0%
1.3 ms
1.3 ms
es/target/es2020
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2020
0%
523.2 µs
523.2 µs
css/parser/foundation_6_7_4
crates/swc_css_parser/benches/parser.rs::benches::bench_files::css/parser/foundation_6_7_4
0%
47.1 ms
47.1 ms
css/visitor/compare/visit_mut_span_panic
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/visit_mut_span_panic
0%
7.4 ms
7.4 ms
es2015_fn_name
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_fn_name
0%
300.2 µs
300.2 µs
es/parser/three
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/three
0%
135.6 ms
135.6 ms
es/transform/baseline/common_typescript
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::baseline_group::es/transform/baseline/common_typescript
0%
395.1 µs
395.1 µs
es/visitor/base-perf/fold_noop_impl_vec
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/fold_noop_impl_vec
0%
336.2 µs
336.2 µs
es2015_spread
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_spread
0%
282.8 µs
282.8 µs
es/target/es3
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es3
0%
523.6 µs
523.6 µs
es/parser/jquery mobile
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/jquery mobile
0%
44.4 ms
44.4 ms
es/full-target/es2017
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::full_group::es/full-target/es2017
0%
617.6 µs
617.7 µs
parse_and_babelify_angular
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_angular
0%
199.2 ms
199.2 ms
html/parser/parser_document/css_2021_spec
crates/swc_html_parser/benches/parser.rs::benches::bench_files::html/parser/parser_document/css_2021_spec
0%
83 ms
83 ms
html/parser/parser_document/github_com_17_05_2022
crates/swc_html_parser/benches/parser.rs::benches::bench_files::html/parser/parser_document/github_com_17_05_2022
0%
26.5 ms
26.5 ms
es/full/minify/libraries/jquery
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/jquery
0%
231.3 ms
231.4 ms
es/visitor/compare/fold_span
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/fold_span
0%
10.2 ms
10.2 ms
es/parser/yui
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/yui
0%
22.6 ms
22.6 ms
es/minifier/libs/victory
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/victory
0%
1.6 s
1.6 s
css_spec
crates/swc_html_minifier/benches/full.rs::files_document::bench_files_document::html/minify/document::css_spec
0%
219.2 ms
219.2 ms
parse_and_babelify_mootools
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_mootools
0%
90.8 ms
90.8 ms
es/full/minify/libraries/typescript
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/typescript
0%
7.4 s
7.4 s
es/full/codegen/es2015
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2015
0%
300.8 µs
300.9 µs
es/full/codegen/es2018
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2018
0%
290.5 µs
290.6 µs
es/codegen/colors
crates/swc_ecma_codegen/benches/bench.rs::benches::bench_cases::es/codegen/colors
0%
168.1 µs
168.2 µs
es/visitor/compare/clone
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/clone
0%
7.3 ms
7.4 ms
es/minifier/libs/moment
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/moment
0%
115.1 ms
115.1 ms
es/lexer/typescript
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/typescript
0%
287.2 ms
287.4 ms
common/allocator/alloc/scoped/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/scoped/1000000
0%
53 ms
53 ms
es/full/minify/libraries/terser
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/terser
0%
709 ms
709.3 ms
es/full/minify/libraries/antd
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/antd
0%
4.5 s
4.5 s
es/minifier/libs/jquery
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/jquery
0%
186.1 ms
186.2 ms
es/lexer/mootools
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/mootools
0%
8.6 ms
8.6 ms
es/hygiene/typescript
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases::es/hygiene/typescript
0%
600.3 ms
600.6 ms
css/parser/bootstrap_5_1_3
crates/swc_css_parser/benches/parser.rs::benches::bench_files::css/parser/bootstrap_5_1_3
0%
59.9 ms
60 ms
es/visitor/compare/visit_mut_span
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/visit_mut_span
0%
7.9 ms
7.9 ms
babelify-only
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::babelify-only
0%
2.3 ms
2.3 ms
es/lexer/yui
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/yui
0%
9.5 ms
9.5 ms
es/minifier/libs/d3
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/d3
0%
766.4 ms
767.2 ms
parse_and_babelify_jquery
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_jquery
0%
122.6 ms
122.8 ms
es/full/minify/libraries/lodash
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/lodash
0%
289 ms
289.6 ms
es/full/base/fixer
crates/swc/benches/typescript.rs::benches::base_tr_group::es/full/base/fixer
0%
130.1 µs
130.4 µs
es/full/minify/libraries/moment
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/moment
0%
142.8 ms
143.1 ms
es/full/minify/libraries/echarts
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/echarts
0%
3.7 s
3.7 s
es/full/all/es2019
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2019
0%
231.3 ms
232 ms
html/parser/parser_document_fragment/github_com_17_05_2022
crates/swc_html_parser/benches/parser.rs::benches::bench_files::html/parser/parser_document_fragment/github_com_17_05_2022
0%
26.4 ms
26.5 ms
es/full/codegen/es2020
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2020
0%
289.4 µs
290.5 µs
es/visitor/base-perf/boxing_boxed
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/boxing_boxed
-1%
3.7 µs
3.8 µs
es/full/minify/libraries/react
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/react
-1%
42.1 ms
42.4 ms
es/parser/underscore
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/underscore
-1%
4.9 ms
4.9 ms
serialization of serde
crates/swc_common/benches/serde.rs::benches::bench_serde::serialization of serde
-1%
3 µs
3 µs
es/minifier/libs/terser
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/terser
-1%
563.9 ms
569.5 ms
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
-1%
2.8 µs
2.8 µs
es/full/parser
crates/swc/benches/typescript.rs::benches::parser_group::es/full/parser
-1%
1.6 ms
1.6 ms
common/allocator/alloc/no-scope/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/no-scope/1000000
-2%
131.8 ms
134.2 ms
es/visitor/base-perf/boxing_boxed_clone
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/boxing_boxed_clone
-2%
2.6 µs
2.6 µs

Commits

Click on a commit to change the comparison range
Base
kdy1:revert-codegen
c5edddb
-65%
Revert "perf(es/codegen): Use scoped allocator (#9248)" This reverts commit 970f32398c6ff444540a31e1172a33b6155ed18b.
c5edddb
5 months ago
by kdy1
+65%
Merge branch 'main' into revert-codegen
71ebdbe
5 months ago
by swc-bot
Home Terms PrivacyDocs