oxc-project
oxc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf(parser/tokens): pre-allocate capacity for tokens
#19543
Merged
Comparing
om/02-19-perf_parser_tokens_pre-allocate_capacity_for_tokens
(
b0fa937
) with
main
(
142e46b
)
CodSpeed Performance Gauge
+22%
Improvement
4
Untouched
48
Skipped
3
This report only contains results for the
CPU Simulation
instrument. To view results for the
Wall Time
instrument,
click here
.
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Skipped
55 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser_tokens[react.development.js]
tasks/benchmark/benches/parser.rs::parser::bench_parser_tokens
CodSpeed Performance Gauge
+22%
1.8 ms
1.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser_tokens[binder.ts]
tasks/benchmark/benches/parser.rs::parser::bench_parser_tokens
CodSpeed Performance Gauge
+18%
4.5 ms
3.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser_tokens[cal.com.tsx]
tasks/benchmark/benches/parser.rs::parser::bench_parser_tokens
CodSpeed Performance Gauge
+10%
33.4 ms
30.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser_tokens[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/parser.rs::parser::bench_parser_tokens
CodSpeed Performance Gauge
+4%
98.5 µs
94.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
codegen[binder.ts]
tasks/benchmark/benches/codegen.rs::codegen::bench_codegen
CodSpeed Performance Gauge
+2%
4.3 ms
*
4.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
pipeline[binder.ts]
tasks/benchmark/benches/pipeline.rs::pipeline::bench_pipeline
CodSpeed Performance Gauge
+2%
15 ms
14.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mangler[RadixUIAdoptionSection.jsx_keep_names]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
CodSpeed Performance Gauge
+1%
20.3 µs
20.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
pipeline[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/pipeline.rs::pipeline::bench_pipeline
CodSpeed Performance Gauge
+1%
330.4 µs
328 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
semantic[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
CodSpeed Performance Gauge
+1%
60.9 µs
60.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
minifier[cal.com.tsx]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
CodSpeed Performance Gauge
0%
38.6 ms
38.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mangler[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
CodSpeed Performance Gauge
0%
14.6 µs
14.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
codegen[cal.com.tsx]
tasks/benchmark/benches/codegen.rs::codegen::bench_codegen
CodSpeed Performance Gauge
0%
34.8 ms
*
34.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[next.ts]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[binder.ts]
tasks/benchmark/benches/parser.rs::parser::bench_parser
CodSpeed Performance Gauge
0%
3.3 ms
3.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mangler[react.development.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
CodSpeed Performance Gauge
0%
226 µs
225.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[App.tsx]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
CodSpeed Performance Gauge
0%
47.9 ms
47.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[cal.com.tsx]
tasks/benchmark/benches/parser.rs::parser::bench_parser
CodSpeed Performance Gauge
0%
25.9 ms
25.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mangler[cal.com.tsx]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[react.development.js]
tasks/benchmark/benches/parser.rs::parser::bench_parser
CodSpeed Performance Gauge
0%
1.3 ms
1.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
minifier[react.development.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
CodSpeed Performance Gauge
0%
2.6 ms
2.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[handle-comments.js]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
CodSpeed Performance Gauge
0%
3.5 ms
3.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transformer[cal.com.tsx]
tasks/benchmark/benches/transformer.rs::transformer::bench_transformer
CodSpeed Performance Gauge
0%
27.3 ms
27.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[Search.tsx]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
lexer[react.development.js]
tasks/benchmark/benches/lexer.rs::lexer::bench_lexer
CodSpeed Performance Gauge
0%
358.7 µs
358.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[errors.ts]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
CodSpeed Performance Gauge
0%
765 µs
764.8 µs
1
2
3
Commits
Click on a commit to change the comparison range
Base
om/02-18-fix_estree_tokens_generate_tokens_for_files_with_bom
142e46b
+22.2%
perf(parser/tokens): pre-allocate capacity for tokens
b0fa937
7 days ago
by overlookmotel
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs