refactor(oxfmt): use Rust formatters for jsdoc code fence#23322
Conversation
834f364 to
d1d9281
Compare
37f0c92 to
b96be29
Compare
d1d9281 to
19c595b
Compare
b96be29 to
d176554
Compare
49116ab to
72fb010
Compare
3020e7c to
eb01d7a
Compare
72fb010 to
45b346e
Compare
eb01d7a to
c30cd29
Compare
ac7386c to
231cc6b
Compare
c30cd29 to
159f229
Compare
231cc6b to
bc63825
Compare
159f229 to
5c01c9b
Compare
bc63825 to
e83d44f
Compare
0291dac to
ad8b53f
Compare
e83d44f to
714ff74
Compare
714ff74 to
30fe84e
Compare
ad8b53f to
30d8fbb
Compare
30fe84e to
82a392e
Compare
30d8fbb to
70d2e31
Compare
82a392e to
9c65ca8
Compare
70d2e31 to
5fcbe62
Compare
Merging this PR will improve performance by 13.64%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ⚡ | Simulation | react_compiler[App.tsx] |
42.3 ms | 33.5 ms | +26.2% |
| ⚡ | Simulation | linter[RadixUIAdoptionSection.jsx] |
10.1 ms | 9 ms | +11.51% |
| ⚡ | Simulation | linter[App.tsx] |
117.6 ms | 107.8 ms | +9.12% |
| ⚡ | Simulation | react_compiler[RadixUIAdoptionSection.jsx] |
9.1 ms | 8.4 ms | +8.61% |
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing 06-11-refactor_oxfmt_use_rust_formatters_for_jsdoc_code_fence (020287d) with 06-11-feat_oxfmt_format_parser_css_less_scss_files_css-in-js_by_oxc_formatter_css (70d2e31)2
Footnotes
-
9 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
-
No successful run was found on
06-11-feat_oxfmt_format_parser_css_less_scss_files_css-in-js_by_oxc_formatter_css(89645c1) during the generation of this report, so 648f514 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩
89645c1 to
ab619c7
Compare
020287d to
37b8466
Compare
ab619c7 to
b7a6677
Compare
37b8466 to
8beafbd
Compare
b7a6677 to
c1620ef
Compare
8beafbd to
3b7d98b
Compare

In addition to basic embedded (e.g. css-in-js), JSDoc also contain code fence as markdown.
This PR makes JSDoc code fence also formatted by
oxc_formatter_xxx.