oxc-project
json-strip-comments
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: simplify state machine and eliminate code duplication
#117
Closed
Comparing
perf/simplify-state-machine
(
fb3bf7a
) with
main
(
b907e37
)
CodSpeed Performance Gauge
-68%
Improvement
2
Regression
2
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Regression
Improvement
4 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
tsconfig
benches/strip.rs::strip::bench
CodSpeed Performance Gauge
-68%
19.2 µs
60.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
large_with_comments
benches/strip.rs::strip::bench
CodSpeed Performance Gauge
-13%
58.2 µs
67 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
minimal_comments
benches/strip.rs::strip::bench
CodSpeed Performance Gauge
+24%
2.4 µs
2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
no_comments
benches/strip.rs::strip::bench
CodSpeed Performance Gauge
+15%
3.9 µs
3.4 µs
Commits
Click on a commit to change the comparison range
Base
main
b907e37
-68.15%
feat: preserve newlines in comments and port sindresorhus tests
fb3bf7a
4 months ago
by Boshen
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs