Avatar for the oxc-project user
oxc-project
oxc
BlogDocsChangelog

perf(parser/tokens): pre-allocate capacity for tokens

#19543Merged
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

Benchmarks

3 total
formatter[binder.ts]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
21.2 ms*
formatter[cal.com.tsx]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
188.5 ms*
formatter[react.development.js]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
Skipped
10.7 ms*

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