BlogDocs

perf(es/plugin): Make `analyze_source_file` lazy, again(#9732)

Merged
Comparing
kdy1:common-lazy
(
1113fb9
) with
main
(
9b74ccd
)
+9%
IMPROVEMENTS
11
REGRESSIONS
0
UNTOUCHED
183
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Improved

es/full/base/fixer
crates/swc/benches/typescript.rs::benches::base_tr_group::es/full/base/fixer
+9%
128.6 µs
117.6 µs
es/full/parser
crates/swc/benches/typescript.rs::benches::parser_group::es/full/parser
+9%
1.5 ms
1.4 ms
es/full/all/es2020
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2020
+5%
181.8 ms
173.8 ms
es/full/all/es2015
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2015
+4%
193.4 ms
185.2 ms
es/full/all/es2017
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2017
+4%
191.2 ms
183.2 ms
es/full/all/es2019
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2019
+4%
188.6 ms
180.8 ms
es/full/all/es2018
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2018
+4%
189.5 ms
181.7 ms
es/full/all/es2016
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es2016
+4%
191.7 ms
183.9 ms
es/full/all/es5
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es5
+3%
251.6 ms
243.2 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
+3%
2.6 µs
2.6 µs
es/full/all/es3
crates/swc/benches/typescript.rs::benches::full_group::es/full/all/es3
+3%
258.1 ms
250 ms

Passed

es/oxc/benches/assets/UserSettings.tsx/sourceMap=false/reactDev=false
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/UserSettings.tsx/sourceMap=false/reactDev=false
+2%
1.2 ms
1.1 ms
es/oxc/benches/assets/renderer.ts/sourceMap=false/reactDev=true
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/renderer.ts/sourceMap=false/reactDev=true
+2%
12.7 ms
12.4 ms
es/oxc/benches/assets/parser.ts/sourceMap=false/reactDev=false
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/parser.ts/sourceMap=false/reactDev=false
+2%
77.3 ms
75.8 ms
bootstrap
crates/swc_css_minifier/benches/full.rs::files::bench_files::css/minify/libraries::bootstrap
+2%
66.1 ms
64.8 ms
es/oxc/benches/assets/parser.ts/sourceMap=false/reactDev=true
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/parser.ts/sourceMap=false/reactDev=true
+2%
77.3 ms
75.8 ms
es/oxc/benches/assets/renderer.ts/sourceMap=false/reactDev=false
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/renderer.ts/sourceMap=false/reactDev=false
+2%
12.7 ms
12.4 ms
es/visitor/base-perf/boxing_boxed
crates/swc_ecma_transforms_base/benches/deps.rs::benches::bench_cases::es/visitor/base-perf/boxing_boxed
+2%
3.3 µs
3.2 µs
es/oxc/benches/assets/table.tsx/sourceMap=false/reactDev=false
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/table.tsx/sourceMap=false/reactDev=false
+2%
6.9 ms
6.8 ms
stackoverflow
crates/swc_html_minifier/benches/full.rs::files_document::bench_files_document::html/minify/document::stackoverflow
+2%
40.1 ms
39.5 ms
es/minifier/libs/lodash
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/lodash
+1%
219.4 ms
216.8 ms
common/allocator/alloc/cached-no-scope/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/cached-no-scope/1000000
+1%
111.6 ms
110.3 ms
es/minifier/libs/react
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/react
+1%
31.4 ms
31.1 ms
es/oxc/benches/assets/UserSettings.tsx/sourceMap=true/reactDev=false
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/UserSettings.tsx/sourceMap=true/reactDev=false
+1%
1.5 ms
1.4 ms
css/visitor/compare/visit_mut_span
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/visit_mut_span
+1%
6.4 ms
6.4 ms
es/oxc/benches/assets/UserSettings.tsx/sourceMap=true/reactDev=true
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/UserSettings.tsx/sourceMap=true/reactDev=true
+1%
1.6 ms
1.6 ms
css_spec
crates/swc_html_minifier/benches/full.rs::files_document::bench_files_document::html/minify/document::css_spec
+1%
208.7 ms
207.3 ms
es2015_for_of
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_for_of
+1%
293.6 µs
291.6 µs
es/minifier/libs/typescript
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/typescript
+1%
5.7 s
5.7 s
github
crates/swc_html_minifier/benches/full.rs::files_document::bench_files_document::html/minify/document::github
+1%
44.8 ms
44.5 ms
es/full/bugs-1
crates/swc/benches/bugs.rs::benches::bench_bugs::es/full/bugs-1
+1%
478 µs
475.2 µs
es/oxc/benches/assets/parser.ts/sourceMap=true/reactDev=false
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/parser.ts/sourceMap=true/reactDev=false
+1%
106.4 ms
105.8 ms
es/minifier/libs/antd
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/antd
+1%
3.4 s
3.3 s
es/minifier/libs/vue
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/vue
+1%
242.6 ms
241.3 ms
es/minifier/libs/jquery
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/jquery
0%
160.1 ms
159.3 ms
es2022_class_properties
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2022_class_properties
0%
387.5 µs
385.7 µs
html/document/visitor/compare/clone
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/clone
0%
1.1 ms
1.1 ms
es/target/es2016
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2016
0%
297.8 µs
296.4 µs
es/minifier/libs/three
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/three
0%
996.3 ms
992.1 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%
22.9 ms
22.8 ms
common/allocator/alloc/no-scope/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/no-scope/1000000
0%
113.4 ms
112.9 ms
es/full/minify/libraries/terser
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/terser
0%
638.8 ms
636.2 ms
es/minifier/libs/victory
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/victory
0%
1.5 s
1.4 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.7 µs
47.5 µs
es/minifier/libs/echarts
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/echarts
0%
2.6 s
2.6 s
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.2 ms
7.2 ms
es/minifier/libs/moment
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/moment
0%
99.3 ms
99 ms
es/visitor/compare/clone
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/clone
0%
6.8 ms
6.7 ms
es/full-target/es2018
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::full_group::es/full-target/es2018
0%
521.2 µs
519.6 µs
es2015_block_scoping
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_block_scoping
0%
460.6 µs
459.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%
7.8 ms
7.7 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.2 s
4.1 s
es2015_fn_name
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_fn_name
0%
287.6 µs
287 µs
es/visitor/compare/fold_span
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/fold_span
0%
8 ms
8 ms
es/oxc/benches/assets/renderer.ts/sourceMap=true/reactDev=true
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/renderer.ts/sourceMap=true/reactDev=true
0%
17 ms
17 ms
es/transform/baseline/common_reserved_word
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::baseline_group::es/transform/baseline/common_reserved_word
0%
287.9 µs
287.4 µs
es2015_block_scoped_fn
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_block_scoped_fn
0%
293.6 µs
293.1 µs
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.2 ms
1.2 ms
es2020_nullish_coalescing
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2020_nullish_coalescing
0%
302.9 µs
302.4 µs
es/target/es2020
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2020
0%
458.3 µs
457.6 µs
es2015_duplicate_keys
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_duplicate_keys
0%
284.5 µs
284 µs
es2015_instanceof
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_instanceof
0%
281.6 µs
281.2 µs
css/visitor/compare/clone
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/clone
0%
6 ms
6 ms
es2015_typeof_symbol
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_typeof_symbol
0%
279.2 µs
278.8 µs
es2015_parameters
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_parameters
0%
341.5 µs
341 µs
es/full/minify/libraries/vue
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/vue
0%
295.4 ms
295 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%
24.1 ms
24.1 ms
es/parser/cal-com
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/cal-com
0%
100.6 ms
100.5 ms
es/hygiene/typescript
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases::es/hygiene/typescript
0%
562.1 ms
561.6 ms
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%
327.4 µs
327.1 µ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%
327.3 µs
327 µ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%
23 ms
22.9 ms
es/oxc/benches/assets/table.tsx/sourceMap=true/reactDev=true
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/table.tsx/sourceMap=true/reactDev=true
0%
10.1 ms
10.1 ms
es/parser/colors
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/colors
0%
132.4 µs
132.3 µs
css/parser/bootstrap_5_1_3
crates/swc_css_parser/benches/parser.rs::benches::bench_files::css/parser/bootstrap_5_1_3
0%
50.5 ms
50.5 ms
css/parser/foundation_6_7_4
crates/swc_css_parser/benches/parser.rs::benches::bench_files::css/parser/foundation_6_7_4
0%
40 ms
40 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%
76.7 ms
76.7 ms
es/full/minify/libraries/moment
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/moment
0%
125.5 ms
125.4 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%
6.4 ms
6.4 ms
es2015_classes
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_classes
0%
393.3 µs
393.2 µs
es/visitor/compare/fold_span_panic
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/fold_span_panic
0%
8 ms
8 ms
es/target/es2015
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2015
0%
1.2 ms
1.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%
9.5 ms
9.5 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%
15 ms
15 ms
resolver/typescript
crates/swc_ecma_transforms_base/benches/parallel.rs::benches::bench_cases::es/base/parallel::resolver/typescript
0%
13.6 s
13.6 s
html/lexer/css_2021_spec
crates/swc_html_parser/benches/lexer.rs::benches::bench_files::html/lexer/css_2021_spec
0%
41 ms
41 ms
deserialization of serde
crates/swc_common/benches/serde.rs::benches::bench_serde::deserialization of serde
0%
2.4 µs
2.4 µs
serialization of serde
crates/swc_common/benches/serde.rs::benches::bench_serde::serialization of serde
0%
2.7 µs
2.7 µ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%
3.4 µs
3.4 µs
common/allocator/alloc/scoped/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/scoped/1000000
0%
52.7 ms
52.7 ms
es/lexer/cal-com
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/cal-com
0%
36.5 ms
36.5 ms
common/allocator/alloc/cached-scoped/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/cached-scoped/1000000
0%
52.5 ms
52.5 ms
common/allocator/alloc/std/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc::common/allocator/alloc/std/1000000
0%
88.1 ms
88.1 ms
es2020_optional_chaining
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2020_optional_chaining
0%
338.8 µs
338.8 µs
hygiene/typescript
crates/swc_ecma_transforms_base/benches/parallel.rs::benches::bench_cases::es/base/parallel::hygiene/typescript
0%
28.3 s
28.3 s
css/lexer/foundation_6_7_4
crates/swc_css_parser/benches/lexer.rs::benches::bench_files::css/lexer/foundation_6_7_4
0%
7.6 ms
7.6 ms
es2015_arrow
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_arrow
0%
306.8 µs
306.9 µs
es/lexer/typescript
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/typescript
0%
250.4 ms
250.4 ms
es/lexer/angular
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/angular
0%
14.4 ms
14.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%
14.9 ms
14.9 ms
es2015_spread
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_spread
0%
275.7 µs
275.8 µs
es/full/minify/libraries/typescript
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/typescript
0%
6.7 s
6.7 s
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%
24 ms
24 ms
es/lexer/jquery mobile
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/jquery mobile
0%
14.5 ms
14.5 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.3 s
3.3 s
es/transform/baseline/common_typescript
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::baseline_group::es/transform/baseline/common_typescript
0%
369.8 µs
370 µs
es/lexer/yui
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/yui
0%
8.2 ms
8.2 ms
es/full/minify/libraries/jquery
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/jquery
0%
204.4 ms
204.5 ms
es/resolver_with_hygiene/typescript
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases::es/resolver_with_hygiene/typescript
0%
876.5 ms
876.9 ms
es/transform/baseline/base
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::baseline_group::es/transform/baseline/base
0%
261.5 µs
261.6 µs
es/parser/yui
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/yui
0%
20.7 ms
20.7 ms
es/lexer/jquery
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/jquery
0%
9.3 ms
9.3 ms
es/lexer/three
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/three
0%
45.1 ms
45.1 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%
254 µs
254.2 µ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%
326.9 µs
327.2 µs
es2015_shorthand_property
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_shorthand_property
0%
275.3 µs
275.6 µ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%
327 µs
327.3 µs
es/oxc/benches/assets/table.tsx/sourceMap=false/reactDev=true
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/table.tsx/sourceMap=false/reactDev=true
0%
7.9 ms
7.9 ms
es/full/minify/libraries/react
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/react
0%
37.1 ms
37.1 ms
es/lexer/underscore
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/underscore
0%
1.5 ms
1.5 ms
es/lexer/mootools
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/mootools
0%
7.4 ms
7.4 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%
76 ms
76.1 ms
es2019_optional_catch_binding
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2019_optional_catch_binding
0%
274.9 µs
275.3 µs
es/minifier/libs/terser
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/terser
0%
495.2 ms
495.9 ms
stackoverflow
crates/swc_html_minifier/benches/full.rs::files_document_fragment::bench_files_document_fragment::html/minify/document_fragment::stackoverflow
0%
39.2 ms
39.3 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.2 ms
1.2 ms
es/target/es3
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es3
0%
414.2 µs
414.8 µs
es/visitor/compare/visit_mut_span
crates/swc_ecma_parser/benches/compare.rs::benches::bench_cases::es/visitor/compare/visit_mut_span
0%
7.2 ms
7.2 ms
es/full/minify/libraries/victory
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/victory
0%
1.9 s
1.9 s
es2015_computed_props
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_computed_props
0%
276.4 µs
276.9 µs
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.3 ms
1.3 ms
html/document/visitor/compare/fold_span
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/fold_span
0%
1.3 ms
1.3 ms
es/lexer/backbone
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/backbone
0%
1.8 ms
1.8 ms
es/target/es2018
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2018
0%
310.1 µs
310.8 µs
es/full-target/es2016
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::full_group::es/full-target/es2016
0%
574.4 µs
575.7 µs
html/document_fragment/visitor/compare/clone
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document_fragment/visitor/compare/clone
0%
1.1 ms
1.1 ms
es/parser/mootools
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/mootools
0%
21 ms
21 ms
es/parser/angular
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/angular
0%
34.5 ms
34.6 ms
es2016_exponentiation
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2016_exponentiation
0%
294.1 µs
294.9 µs
es/parser/typescript
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/typescript
0%
722 ms
724 ms
es/minifier/libs/d3
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs::es/minifier/libs/d3
0%
666.7 ms
668.6 ms
es/full-target/es2017
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::full_group::es/full-target/es2017
0%
535 µs
536.6 µs
typescript/fast-strip
crates/swc_fast_ts_strip/benches/assets.rs::benches::fast_ts::typescript/fast-strip
0%
776.9 µs
779.2 µs
es/full/codegen/es3
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es3
0%
253.4 µs
254.1 µs
es2015_destructuring
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_destructuring
0%
350 µs
351.1 µs
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.3 ms
1.3 ms
es/lexer/colors
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files::es/lexer/colors
0%
47.1 µs
47.2 µs
es/full/codegen/es2017
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2017
0%
253.4 µs
254.3 µs
es/full/codegen/es5
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es5
0%
253.3 µs
254.2 µs
es2017_async_to_generator
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2017_async_to_generator
0%
274.4 µs
275.4 µs
css/visitor/compare/fold_span
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/fold_span
0%
7 ms
7 ms
es/full/minify/libraries/d3
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/d3
0%
818.4 ms
821.5 ms
es/full/minify/libraries/lodash
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries::es/full/minify/libraries/lodash
0%
248.5 ms
249.4 ms
es2018_object_rest_spread
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2018_object_rest_spread
0%
293.8 µs
295 µs
es/target/es2017
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::version_group::es/target/es2017
0%
276.4 µs
277.5 µ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.3 s
1.3 s
es/codegen/with-parser/colors
crates/swc_ecma_codegen/benches/with_parse.rs::benches::bench_cases::es/codegen/with-parser/colors
0%
200.3 µs
201.2 µs
es/codegen/with-parser/large
crates/swc_ecma_codegen/benches/with_parse.rs::benches::bench_cases::es/codegen/with-parser/large
0%
1.5 ms
1.5 ms
es/oxc/benches/assets/renderer.ts/sourceMap=true/reactDev=false
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/renderer.ts/sourceMap=true/reactDev=false
0%
17 ms
17.1 ms
css/visitor/compare/fold_span_panic
crates/swc_css_parser/benches/compare.rs::benches::bench_cases::css/visitor/compare/fold_span_panic
-1%
6.9 ms
7 ms
es/resolver/typescript
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases::es/resolver/typescript
-1%
266.7 ms
268.1 ms
es/parser/three
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/three
-1%
124.7 ms
125.3 ms
es/full/codegen/es2015
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2015
-1%
253.5 µs
254.8 µs
es/parser/backbone
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/backbone
-1%
5.1 ms
5.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
-1%
1.2 ms
1.2 ms
es2015_sticky_regex
crates/swc_ecma_transforms_typescript/benches/compat.rs::benches::single_tr_group::es2015_sticky_regex
-1%
278.3 µs
279.8 µs
html/document/visitor/compare/fold_span_panic
crates/swc_html_parser/benches/compare.rs::benches::bench_cases::html/document/visitor/compare/fold_span_panic
-1%
1.3 ms
1.3 ms
es/parser/jquery
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/jquery
-1%
26.4 ms
26.6 ms
es/parser/underscore
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/underscore
-1%
4.5 ms
4.5 ms
es/codegen/colors
crates/swc_ecma_codegen/benches/bench.rs::benches::bench_cases::es/codegen/colors
-1%
69.8 µs
70.3 µs
es/parser/jquery mobile
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files::es/parser/jquery mobile
-1%
40.5 ms
40.8 ms
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
-1%
1.2 ms
1.2 ms
css_spec
crates/swc_html_minifier/benches/full.rs::files_document_fragment::bench_files_document_fragment::html/minify/document_fragment::css_spec
-1%
202.8 ms
204.3 ms
es/full/codegen/es2018
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2018
-1%
255.7 µs
257.6 µs
github
crates/swc_html_minifier/benches/full.rs::files_document_fragment::bench_files_document_fragment::html/minify/document_fragment::github
-1%
43.8 ms
44.1 ms
es/oxc/benches/assets/table.tsx/sourceMap=true/reactDev=false
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/table.tsx/sourceMap=true/reactDev=false
-1%
9.1 ms
9.2 ms
es/oxc/benches/assets/parser.ts/sourceMap=true/reactDev=true
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/parser.ts/sourceMap=true/reactDev=true
-1%
107 ms
107.9 ms
css/lexer/tailwind_3_1_1
crates/swc_css_parser/benches/lexer.rs::benches::bench_files::css/lexer/tailwind_3_1_1
-1%
1.5 ms
1.5 ms
es/codegen/large
crates/swc_ecma_codegen/benches/bench.rs::benches::bench_cases::es/codegen/large
-1%
681.6 µs
688.3 µs
es/preset-env/usage/property
crates/swc_ecma_preset_env/benches/polyfills.rs::benches::bench_cases::es/preset-env/usage/property
-1%
116.8 µs
118 µs
parse_and_babelify_angular
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_angular
-1%
160.8 ms
162.5 ms
es/full/codegen/es2020
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2020
-1%
253.6 µs
256.5 µs
es/fixer/typescript
crates/swc_ecma_transforms_base/benches/base.rs::benches::bench_cases::es/fixer/typescript
-1%
221.9 ms
224.8 ms
es/full/codegen/es2019
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2019
-1%
253.3 µs
256.9 µs
parse_and_babelify_jquery
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_jquery
-1%
108.6 ms
110.1 ms
parse_and_babelify_jquery_mobile
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_jquery_mobile
-1%
182.6 ms
185.3 ms
parse_and_babelify_yui
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_yui
-1%
75.4 ms
76.5 ms
es/oxc/benches/assets/UserSettings.tsx/sourceMap=false/reactDev=true
crates/swc/benches/oxc.rs::benches::full_group::es/oxc/benches/assets/UserSettings.tsx/sourceMap=false/reactDev=true
-1%
1.3 ms
1.3 ms
es/full/codegen/es2016
crates/swc/benches/typescript.rs::benches::codegen_group::es/full/codegen/es2016
-2%
255.8 µs
259.8 µs
parse_and_babelify_mootools
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_mootools
-2%
80.5 ms
81.7 ms
parse_and_babelify_underscore
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_underscore
-2%
15 ms
15.3 ms
parse_and_babelify_backbone
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::parse_and_babelify_backbone
-2%
17.5 ms
17.8 ms
babelify-only
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases::babelify-only
-2%
2.1 ms
2.1 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.4 µs
2.4 µs

Commits

Click on a commit to change the comparison range
base
main
9b74ccd
-3%
fix `swc_common`
bf83789
12 days ago
by kdy1
+13%
Create calm-crabs-lie.md
1113fb9
11 days ago
by kdy1
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.