oxc-project
oxc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf(diagnostic): use `Cow<'static, str>` over `String`
#4175
Merged
Comparing
don/perf/cow-diagnostics
(
ddfa343
) with
main
(
7a059ab
)
CodSpeed Performance Gauge
0%
Untouched
31
Benchmarks
Passed
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
+2%
780.6 ms
767.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
semantic[pdf.mjs]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
CodSpeed Performance Gauge
+1%
32.1 ms
31.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
linter[checker.ts]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
+1%
1.4 s
1.4 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%
129.2 µs
128.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prepass[react.development.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_passes
CodSpeed Performance Gauge
0%
207.1 µs
206.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
lexer[antd.js]
tasks/benchmark/benches/lexer.rs::lexer::bench_lexer
CodSpeed Performance Gauge
0%
20.1 ms
20.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
isolated-declarations[vue-id.ts]
tasks/benchmark/benches/isolated_declarations.rs::transformer::bench_isolated_declarations
CodSpeed Performance Gauge
0%
376.3 ms
375.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sourcemap[cal.com.tsx]
tasks/benchmark/benches/sourcemap.rs::sourcemap::bench_sourcemap
CodSpeed Performance Gauge
0%
57.8 ms
57.7 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 ms
5 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%
65.4 ms
65.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transformer[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/transformer.rs::transformer::bench_transformer
CodSpeed Performance Gauge
0%
253 µs
252.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[checker.ts]
tasks/benchmark/benches/parser.rs::parser::bench_parser
CodSpeed Performance Gauge
0%
52.5 ms
52.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[pdf.mjs]
tasks/benchmark/benches/parser.rs::parser::bench_parser
CodSpeed Performance Gauge
0%
17.1 ms
17.1 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%
24 ms
24 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
codegen_sourcemap[cal.com.tsx]
tasks/benchmark/benches/codegen_sourcemap.rs::codegen_sourcemap::bench_codegen_sourcemap
CodSpeed Performance Gauge
0%
35.6 ms
35.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
lexer[checker.ts]
tasks/benchmark/benches/lexer.rs::lexer::bench_lexer
CodSpeed Performance Gauge
0%
12 ms
12 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
parser[antd.js]
tasks/benchmark/benches/parser.rs::parser::bench_parser
CodSpeed Performance Gauge
0%
104 ms
104 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
lexer[pdf.mjs]
tasks/benchmark/benches/lexer.rs::lexer::bench_lexer
CodSpeed Performance Gauge
0%
3.2 ms
3.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prepass[antd.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_passes
CodSpeed Performance Gauge
0%
15.7 ms
15.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
prepass[typescript.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_passes
CodSpeed Performance Gauge
0%
27.7 ms
27.7 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%
1.6 ms
1.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
minifier[typescript.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
CodSpeed Performance Gauge
0%
252.2 ms
252.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
minifier[antd.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
CodSpeed Performance Gauge
0%
144.7 ms
144.8 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%
83.2 ms
83.3 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%
76.8 µs
76.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
semantic[checker.ts]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
CodSpeed Performance Gauge
0%
130.3 ms
130.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transformer[antd.js]
tasks/benchmark/benches/transformer.rs::transformer::bench_transformer
CodSpeed Performance Gauge
0%
327.9 ms
328.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transformer[checker.ts]
tasks/benchmark/benches/transformer.rs::transformer::bench_transformer
CodSpeed Performance Gauge
0%
195.5 ms
196 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transformer[pdf.mjs]
tasks/benchmark/benches/transformer.rs::transformer::bench_transformer
CodSpeed Performance Gauge
0%
51.5 ms
51.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
semantic[antd.js]
tasks/benchmark/benches/semantic.rs::semantic::bench_semantic
CodSpeed Performance Gauge
-1%
205.8 ms
207 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
-1%
22.4 µs
22.6 µs
Commits
Click on a commit to change the comparison range
Base
main
7a059ab
+0.11%
perf(diagnostic): use `Cow<'static, str>` over `String` (#4175) Allows us to use `&'static str` for error and help messages without allocating them into `String`s.
ddfa343
2 years ago
by DonIsaac
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs