oxc-project
oxc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf(formatter): memorize text width for `FormatElement::Text`
#15372
Merged
Comparing
11-06-perf_formatter_memoize_text_width_for_formatelemetn_text
(
2b15086
) with
main
(
35201d9
)
CodSpeed Performance Gauge
+10%
Improvement
4
Untouched
29
Skipped
4
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Skipped
37 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[binder.ts]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
CodSpeed Performance Gauge
+10%
22.2 ms
20.1 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
+9%
10.7 ms
9.9 ms
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
+7%
181.2 ms
169.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
formatter[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/formatter.rs::formatter::bench_formatter
CodSpeed Performance Gauge
+4%
520.1 µs
502.1 µ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
+2%
34.6 ms
33.8 ms
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
+1%
36.8 ms
36.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
codegen[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/codegen.rs::codegen::bench_codegen
CodSpeed Performance Gauge
+1%
122.5 µs
121 µs
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.
codegen[react.development.js]
tasks/benchmark/benches/codegen.rs::codegen::bench_codegen
CodSpeed Performance Gauge
0%
1.9 ms
1.9 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.5 ms
2.5 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%
710.2 µs
709.9 µs
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%
4 ms
4 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.
semantic[cal.com.tsx]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
CodSpeed Performance Gauge
0%
26.5 ms
26.5 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%
26.8 ms
26.8 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.6 ms
104.6 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.3 µs
20.3 µs
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%
864.8 µs
864.9 µs
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.
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.
mangler[cal.com.tsx]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
CodSpeed Performance Gauge
0%
2.9 ms
2.9 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.
mangler[binder.ts]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
CodSpeed Performance Gauge
0%
775 µs
775.4 µs
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%
57 ms
57 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/parser.rs::parser::bench_parser
CodSpeed Performance Gauge
0%
87.5 µs
87.6 µs
1
2
Commits
Click on a commit to change the comparison range
Base
11-06-feat_formatter_remove_tag_startverbatim_and_tag_endverbatim
35201d9
+10.12%
perf(formatter): memoize text width for FormatElemetn::Text
2b15086
4 months ago
by Dunqing
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs