oxc-project
oxc
BlogDocsChangelog

perf(linter): refactor `jest/no-conditional-in-test` to use diverging match

#14692Merged
Comparing
10-16-perf_linter_refactor_jest_no-conditional-in-test_to_use_diverging_match
(
c8d775c
) with
main
(
b666c26
)
CodSpeed Performance Gauge
+1%
Untouched
4
Skipped
33

Benchmarks

Skipped (33)

Passed

linter[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
+1%
907.7 µs902.2 µs
linter[react.development.js]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
+1%
20.9 ms20.8 ms
linter[binder.ts]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
55.4 ms55.1 ms
linter[cal.com.tsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
0%
518.3 ms516.5 ms

Commits

Click on a commit to change the comparison range
Base
10-16-perf_linter_move_root_scope_check_into_match_arms_in_import_no-webpack-loader-syntax_
b666c26
+0.5%
perf(linter): refactor `jest/no-conditional-in-test` to use diverging match (#14692) Use diverging `match node.kind()` instead of `if !matches!(node.kind(), ...)`
c8d775c
17 days ago
by camchenry
© 2025 CodSpeed Technology
Home Terms Privacy Docs