swc-project
swc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf(es/minifier): Pre-allocate collections
#9289
Merged
Comparing
kdy1:regrow
(
096399c
) with
main
(
edbaf6b
)
CodSpeed Performance Gauge
+46%
Improvement
1
Untouched
175
Archived
2
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Archived
178 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/full/base/fixer
crates/swc/benches/typescript.rs::benches::base_tr_group
CodSpeed Performance Gauge
+46%
172.6 µs
118 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
common/allocator/alloc/std/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc
CodSpeed Performance Gauge
+2%
89 ms
87.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/full/parser
crates/swc/benches/typescript.rs::benches::parser_group
CodSpeed Performance Gauge
+1%
1.5 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
common/allocator/alloc/cached-no-scope/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc
CodSpeed Performance Gauge
+1%
113.9 ms
112.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/full/minify/libraries/terser
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries
CodSpeed Performance Gauge
+1%
655.5 ms
647.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/parser/underscore
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files
CodSpeed Performance Gauge
+1%
4.6 ms
4.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parse_and_babelify_jquery_mobile
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases
CodSpeed Performance Gauge
+1%
193.8 ms
192.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/full/minify/libraries/jquery
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries
CodSpeed Performance Gauge
0%
211.8 ms
211.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/full/minify/libraries/moment
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries
CodSpeed Performance Gauge
0%
130.1 ms
129.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/parser/backbone
crates/swc_ecma_parser/benches/parser.rs::benches::bench_files
CodSpeed Performance Gauge
0%
5.2 ms
5.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/full/minify/libraries/vue
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries
CodSpeed Performance Gauge
0%
303.7 ms
302.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/full/minify/libraries/react
crates/swc/benches/minify.rs::benches::files_group::es/full/minify/libraries
CodSpeed Performance Gauge
0%
38.4 ms
38.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parse_and_babelify_underscore
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases
CodSpeed Performance Gauge
0%
15.9 ms
15.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/full/all/es2019
crates/swc/benches/typescript.rs::benches::full_group
CodSpeed Performance Gauge
0%
210.6 ms
210.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
html/document_fragment/visitor/compare/visit_mut_span
crates/swc_html_parser/benches/compare.rs::benches::bench_cases
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
html/document_fragment/visitor/compare/visit_mut_span_panic
crates/swc_html_parser/benches/compare.rs::benches::bench_cases
CodSpeed Performance Gauge
0%
1.1 ms
1.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
babelify-only
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases
CodSpeed Performance Gauge
0%
2.1 ms
2.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/full/all/es2020
crates/swc/benches/typescript.rs::benches::full_group
CodSpeed Performance Gauge
0%
203.3 ms
202.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
css/lexer/tailwind_3_1_1
crates/swc_css_parser/benches/lexer.rs::benches::bench_files
CodSpeed Performance Gauge
0%
1.6 ms
1.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/minifier/libs/d3
crates/swc_ecma_minifier/benches/full.rs::files::bench_files::es/minifier/libs
CodSpeed Performance Gauge
0%
698.7 ms
697.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parse_and_babelify_yui
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases
CodSpeed Performance Gauge
0%
78.3 ms
78.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/full/all/es2018
crates/swc/benches/typescript.rs::benches::full_group
CodSpeed Performance Gauge
0%
211 ms
210.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
es/lexer/typescript
crates/swc_ecma_parser/benches/lexer.rs::benches::bench_files
CodSpeed Performance Gauge
0%
262.4 ms
262.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
common/allocator/alloc/no-scope/1000000
crates/swc_allocator/benches/bench.rs::benches::bench_alloc
CodSpeed Performance Gauge
0%
113 ms
112.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parse_and_babelify_mootools
crates/swc_estree_compat/benches/babelify.rs::benches::bench_cases
CodSpeed Performance Gauge
0%
84.5 ms
84.4 ms
1
2
...
8
Commits
Click on a commit to change the comparison range
Base
kdy1:regrow
edbaf6b
+0.1%
Optimize `CustomBindingCollector`
3d7f2a2
2 years ago
by kdy1
0%
clippy
d31e4cc
2 years ago
by kdy1
0%
Optimize renamer
6e2683b
2 years ago
by kdy1
+0.01%
Optimize `seq_exprs_of`
a76f627
2 years ago
by kdy1
-0.01%
Optimize using `swc_allocator`
513f110
2 years ago
by kdy1
-32.55%
Revert "Optimize using `swc_allocator`"
edbaf6b
2 years ago
by kdy1
+78.7%
Doc
096399c
2 years ago
by kdy1
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs