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

fix(linter/unicorn): handle optional chaining in `prefer-array-flat` and `no-invalid-remove-event-listener`

#21299Merged
Comparing
baevm:fix-unicorn-optionals-in-rules
(
6d51fb6
) with
main
(
a02f32c
)
CodSpeed Performance Gauge
0%
Untouched
4
Skipped
47

Benchmarks

51 total
linter[binder.ts]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
53.5 ms53.5 ms
linter[react.development.js]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
20.9 ms20.8 ms
linter[cal.com.tsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
532.1 ms532.2 ms
linter[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
782 µs783.4 µs
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*
codegen[cal.com.tsx]
tasks/benchmark/benches/codegen.rs::codegen::bench_codegen
Skipped
35.2 ms*
codegen[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/codegen.rs::codegen::bench_codegen
Skipped
122.3 µs*
codegen[binder.ts]
tasks/benchmark/benches/codegen.rs::codegen::bench_codegen
Skipped
4.3 ms*
codegen[react.development.js]
tasks/benchmark/benches/codegen.rs::codegen::bench_codegen
Skipped
1.9 ms*
estree_tokens[checker.ts]
tasks/benchmark/benches/parser.rs::parser::bench_estree_tokens
Skipped
81.2 ms*
parser[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/parser.rs::parser::bench_parser
Skipped
84.1 µs*
parser[cal.com.tsx]
tasks/benchmark/benches/parser.rs::parser::bench_parser
Skipped
26.4 ms*
parser[binder.ts]
tasks/benchmark/benches/parser.rs::parser::bench_parser
Skipped
3.4 ms*
parser[react.development.js]
tasks/benchmark/benches/parser.rs::parser::bench_parser
Skipped
1.3 ms*
estree[checker.ts]
tasks/benchmark/benches/parser.rs::parser::bench_estree
Skipped
95.3 ms*
mangler[RadixUIAdoptionSection.jsx_keep_names]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
Skipped
20 µs*
mangler[cal.com.tsx]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
Skipped
2.6 ms*
minifier[binder.ts]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
Skipped
4.1 ms*
minifier[cal.com.tsx]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
Skipped
38.3 ms*
minifier[react.development.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_minifier
Skipped
2.8 ms*
mangler[binder.ts]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
Skipped
641.2 µs*
mangler[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
Skipped
14.2 µs*
mangler[react.development.js]
tasks/benchmark/benches/minifier.rs::minifier::bench_mangler
Skipped
223.9 µs*

Commits

Click on a commit to change the comparison range
Base
main
a02f32c
-0.1%
fix(linter/unicorn): handle optional chaining in `prefer-array-flat` rule
db37812
3 days ago
by baevm
+0.1%
Merge branch 'main' into fix-unicorn-optionals-in-rules
6d51fb6
2 hours ago
by camc314
© 2026 CodSpeed Technology
Home Terms Privacy Docs