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

perf(transformer): only scan comments before first statement for JSX pragmas

#20675Merged
Comparing
refactor/jsx-pragma-leading-comments-only
(
cd25e3f
) with
main
(
da1550c
)
CodSpeed Performance Gauge
0%
Untouched
44
Skipped
7
Archived
5

Benchmarks

7 total
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*
linter[binder.ts]
tasks/benchmark/benches/linter.rs::linter::bench_linter
Skipped
51.4 ms*
linter[react.development.js]
tasks/benchmark/benches/linter.rs::linter::bench_linter
Skipped
19.8 ms*
linter[RadixUIAdoptionSection.jsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
Skipped
769.5 µs*
linter[cal.com.tsx]
tasks/benchmark/benches/linter.rs::linter::bench_linter
Skipped
520 ms*

Commits

Click on a commit to change the comparison range
Base
fix/jsx-pragma-backtick
da1550c
-0.02%
refactor(transformer): only scan comments before first statement for JSX pragmas
cd25e3f
10 days ago
by Dunqing
© 2026 CodSpeed Technology
Home Terms Privacy Docs