oxc-project
oxc
BlogDocsChangelog

perf(linter): switch `if !matches!(node.kind(), ...)` to match block

#14650Merged
Comparing
10-16-perf_linter_switch_if_matches_node.kind_._to_match_block
(
00e64a8
) with
main
(
f2c33f5
)
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
+2%
965.1 µs947.6 µs
linter[cal.com.tsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
+1%
538.7 ms532 ms
linter[binder.ts]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
+1%
57.6 ms56.9 ms
linter[react.development.js]
tasks/benchmark/benches/linter.rs::linter::bench_linter
CodSpeed Performance Gauge
+1%
21.7 ms21.5 ms

Commits

Click on a commit to change the comparison range
Base
main
f2c33f5
+1.36%
perf(linter): switch `if !matches!(node.kind(), ...)` to match block
00e64a8
6 days ago
by camchenry
© 2025 CodSpeed Technology
Home Terms Privacy Docs