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

perf(parser): pre-allocate `extends` vec with `1` cap

#20667Merged
Comparing
c/03-23-perf_parser_pre-allocate_extends_vec_with_1_cap
(
4172d22
) with
main
(
2cb0cb3
)
CodSpeed Performance Gauge
0%
Untouched
48
Skipped
3
Archived
5

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
c/03-23-perf_parser_avoid_re-allocating_when_parsing_import_stmt
2cb0cb3
-0.01%
perf(parser): pre-allocate `extends` vec with `1` cap
4172d22
12 days ago
by camc314
© 2026 CodSpeed Technology
Home Terms Privacy Docs