oxc-project
json-strip-comments
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
perf: optimize newline preservation using memchr Replace byte-by-byte loops with efficient chunked filling: - Use memchr::memchr2 to find newline positions - Fill spaces in chunks between newlines using optimized fill() - Preserves correctness while restoring performance 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
fix/preserve-newlines-in-comments
1 day ago
fix: preserve newlines in block comments to match JavaScript behavior 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
fix/preserve-newlines-in-comments
1 day ago
chore: release v3.1.1
release-plz-2025-11-21T15-18-23Z
1 day ago
test: port tests from sindresorhus/strip-json-comments (#118) Co-authored-by: Claude <noreply@anthropic.com>
main
1 day ago
test: port tests from sindresorhus/strip-json-comments 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
test/port-sindresorhus-tests
1 day ago
feat: preserve newlines in comments and port sindresorhus tests Changes to comment handling: - Preserve \r and \n characters inside block comments (InBlockComment, MaybeCommentEnd states) - Preserve \r characters in line comments (InLineComment state) - This matches sindresorhus/strip-json-comments behavior and improves readability Test additions (13 new tests from sindresorhus/strip-json-comments): - sindresorhus_replace_comments_with_whitespace - sindresorhus_doesnt_strip_comments_inside_strings - sindresorhus_consider_escaped_slashes - sindresorhus_line_endings_no_comments - sindresorhus_line_endings_single_line_comment - sindresorhus_line_endings_single_line_block_comment - sindresorhus_line_endings_multi_line_block_comment - sindresorhus_line_endings_works_at_eof - sindresorhus_handles_weird_escaping - sindresorhus_strips_trailing_commas - sindresorhus_strips_trailing_commas_with_comments - sindresorhus_handles_malformed_block_comments - sindresorhus_handles_non_breaking_space All 57 tests (54 integration + 3 doc tests) passing. Ported from: https://github.com/sindresorhus/strip-json-comments/blob/main/test.js 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
perf/simplify-state-machine
1 day ago
chore: release v3.1.0 (#88)
main
1 day ago
chore: release v3.0.2
release-plz-2025-09-21T16-59-54Z
1 day ago
Active Branches
fix: preserve newlines in block comments to match JavaScript behavior
last run
1 day ago
#120
CodSpeed Performance Gauge
-19%
chore: release v3.1.1
last run
1 day ago
#119
CodSpeed Performance Gauge
0%
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs