oxc-project
json-strip-comments
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix: preserve newlines in block comments to match JavaScript behavior
#120
Closed
Comparing
fix/preserve-newlines-in-comments
(
5d255b2
) with
main
(
eab81e0
)
CodSpeed Performance Gauge
-19%
Regression
4
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
4 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
minimal_comments
benches/strip.rs::strip::bench
CodSpeed Performance Gauge
-19%
2.4 µs
3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
large_with_comments
benches/strip.rs::strip::bench
CodSpeed Performance Gauge
-15%
58.2 µs
68.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tsconfig
benches/strip.rs::strip::bench
CodSpeed Performance Gauge
-10%
19.2 µs
21.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
no_comments
benches/strip.rs::strip::bench
CodSpeed Performance Gauge
-9%
3.9 µs
4.3 µs
Commits
Click on a commit to change the comparison range
Base
main
eab81e0
-18.07%
fix: preserve newlines in block comments to match JavaScript behavior
f40d55a
2 months ago
by Boshen
-0.8%
perf: optimize newline preservation using memchr
5d255b2
2 months ago
by Boshen
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs