oxc-project
oxc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf(parser): optimize expect() to reduce branch misprediction
#14242
Merged
Comparing
optimize-expect
(
430bbaa
) with
main
(
a7e8662
)
CodSpeed Performance Gauge
0%
Untouched
37
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
Untouched
37 total
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
+2%
32.2 ms
*
31.6 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
+1%
26.8 ms
*
26.6 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
+1%
3.3 ms
*
3.3 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
+1%
11.6 µs
*
11.5 µs
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.
lexer[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/lexer.rs::lexer::bench_lexer
CodSpeed Performance Gauge
0%
20 µs
*
19.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
CodSpeed Performance Gauge
0%
581.3 µs
*
580.7 µ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
0%
4 ms
*
4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
1.6 ms
1.6 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.8 ms
*
2.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
semantic[react.development.js]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
CodSpeed Performance Gauge
0%
1.6 ms
*
1.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
isolated-declarations[vue-id.ts]
tasks/benchmark/benches/transformer.rs::transformer::bench_isolated_declarations
CodSpeed Performance Gauge
0%
56.4 ms
*
56.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transformer[react.development.js]
tasks/benchmark/benches/transformer.rs::transformer::bench_transformer
CodSpeed Performance Gauge
0%
711.8 µs
*
711.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[cal.com.tsx]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
CodSpeed Performance Gauge
0%
211.4 ms
*
211.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
minifier[binder.ts]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
CodSpeed Performance Gauge
0%
3.9 ms
*
3.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transformer[binder.ts]
tasks/benchmark/benches/transformer.rs::transformer::bench_transformer
CodSpeed Performance Gauge
0%
1.7 ms
*
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
estree[checker.ts]
tasks/benchmark/benches/parser.rs::parser::bench_estree
CodSpeed Performance Gauge
0%
104.5 ms
*
104.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[react.development.js]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
CodSpeed Performance Gauge
0%
12.1 ms
*
12.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
lexer[cal.com.tsx]
tasks/benchmark/benches/lexer.rs::lexer::bench_lexer
CodSpeed Performance Gauge
0%
5.3 ms
*
5.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter[cal.com.tsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
724.2 ms
724.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
lexer[binder.ts]
tasks/benchmark/benches/lexer.rs::lexer::bench_lexer
CodSpeed Performance Gauge
0%
870.2 µs
*
870.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter[binder.ts]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
87.9 ms
87.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[binder.ts]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
CodSpeed Performance Gauge
0%
23.7 ms
*
23.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mangler[binder.ts]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
CodSpeed Performance Gauge
0%
721.1 µs
*
721.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
semantic[cal.com.tsx]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
CodSpeed Performance Gauge
0%
26.8 ms
*
26.8 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
a7e8662
+0.07%
perf(parser): optimize expect() to reduce branch misprediction
430bbaa
5 months ago
by Boshen
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs