oxc-project
json-strip-comments
BlogDocsChangelog

Branches performance

Pull requests

chore(deps): lock file maintenance#103
last run
7 days ago
chore(deps): lock file maintenance
7 days ago
86e3d11
renovate/rust-crates
CodSpeed Performance Gauge
0%
chore(deps): update codspeedhq/action action to v4.3.1
7 days ago
dd77c62
renovate/github-actions
CodSpeed Performance Gauge
0%
perf: optimize state machine for better branch prediction#94
last run
26 days ago
perf: optimize state machine for better branch prediction Analyzed assembly output and implemented several optimizations to improve branch prediction and reduce instruction count in hot paths: 1. **Explicit enum discriminants**: Added explicit u8 discriminants (0-6) to State enum for more efficient comparisons 2. **Integer-based state matching**: Changed from enum pattern matching to integer discriminant matching with unreachable_unchecked hint for impossible cases 3. **Fast-path optimization**: Added early-return fast paths in top() and in_string() functions for the most common case (non-special characters) Performance improvements (measured with criterion): - tsconfig: 3.5-4.7% faster (2.219µs → 2.129µs) - no_comments: 4.5-5.4% faster (472ns → 451ns) - minimal_comments: 6.3-8.2% faster (121ns → 112ns) - large_with_comments: 2.5-3.6% faster (11.375µs → 11.109µs) All tests pass. Assembly analysis shows simpler integer comparisons and better instruction cache locality with more predictable branching. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
26 days ago
f7bd12c
perf/assembly-optimizations
CodSpeed Performance Gauge
+1%
chore: release v3.0.2#88
last run
3 days ago
chore: release v3.0.2
3 days ago
9efb440
release-plz-2025-09-21T16-59-54Z
CodSpeed Performance Gauge
+5%
© 2025 CodSpeed Technology
Home Terms Privacy Docs