oxc-project
oxc
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
docs(linter): Add correctness examples to `typescript-prefer-as-const`
#9805
Merged
Comparing
therewillbecode:docs/typescript-prefer-as-const
(
342f324
) with
main
(
fef680a
)
CodSpeed Performance Gauge
0%
Untouched
33
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Untouched
33 total
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%
74.5 µs
74.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
transformer[pdf.mjs]
tasks/benchmark/benches/transformer.rs::transformer::bench_transformer
CodSpeed Performance Gauge
+1%
10.3 ms
10.3 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%
30.1 ms
30.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
codegen[checker.ts]
tasks/benchmark/benches/codegen.rs::codegen::bench_codegen
CodSpeed Performance Gauge
0%
22.6 ms
22.6 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%
91.4 µs
91.3 µs
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.8 ms
1.8 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%
1.2 s
1.2 s
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%
57.6 ms
57.6 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
0%
17.2 ms
17.2 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%
113.5 ms
113.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%
26.1 ms
26.1 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%
87.4 ms
87.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%
18.2 ms
18.2 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.8 ms
3.8 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%
289.4 ms
289.4 ms
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%
56.9 ms
56.9 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.7 ms
5.7 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%
14.5 ms
14.5 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%
163.9 ms
163.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mangler[antd.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
CodSpeed Performance Gauge
0%
15.9 ms
15.9 ms
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%
24.1 ms
24.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
codegen_sourcemap[checker.ts]
tasks/benchmark/benches/codegen.rs::codegen::bench_codegen
CodSpeed Performance Gauge
0%
65.7 ms
65.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%
23.2 ms
23.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
mangler[typescript.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
CodSpeed Performance Gauge
0%
39.4 ms
39.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%
2.7 ms
2.7 ms
1
2
Commits
Click on a commit to change the comparison range
Base
main
fef680a
0%
Add correctness examples to prefer-as-const
139d663
1 year ago
by therewillbecode
+0.01%
Remove unsupported example
342f324
1 year ago
by therewillbecode
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs