Avatar for the oxc-project user
oxc-project
oxc-sourcemap
BlogDocsChangelog

Add AVX512 and AVX2-accelerated JSON string escaping with runtime feature detection and CLI benchmark tool

#119Closed
Comparing
copilot/fix-ac2fca19-7ef1-45e7-9731-d0a5998cf1be
(
95279b8
) with
main
(
5f430dc
)
CodSpeed Performance Gauge
-15%
Improvements
0
Regressions
3
Untouched
1
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

to_jsonRegression
benches/simple.rs::sourcemap::bench::SourceMap::to_json
CodSpeed Performance Gauge
-2%
6.3 µs
6.4 µs
to_json_stringRegression
benches/simple.rs::sourcemap::bench::SourceMap::to_json_string
CodSpeed Performance Gauge
-15%
7.1 µs
8.3 µs
add_name_add_source_and_contentRegression
benches/simple.rs::sourcemap::bench::SourceMapBuilder::add_name_add_source_and_content
CodSpeed Performance Gauge
-2%
2.8 µs
2.9 µs

Passed

from_json_string
benches/simple.rs::sourcemap::bench::SourceMap::from_json_string
CodSpeed Performance Gauge
0%
19 µs
19 µs

Commits

Click on a commit to change the comparison range
Base
main
5f430dc
+3%
Add comprehensive integration tests for AVX512 JSON escaping functionality Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
720375d
5 days ago
by Copilot
-1%
[autofix.ci] apply automated fixes
7146ae6
5 days ago
by autofix-ci[bot]
+1%
Fix clippy dead code warning for append_escaped_byte on aarch64-apple-darwin Add #[cfg(target_arch = "x86_64")] attribute to append_escaped_byte function since it's only used by AVX512 code which is x86_64-specific. Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
3a92844
5 days ago
by Copilot
0%
Fix clippy errors in avx512_integration.rs test file Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
5a1e469
5 days ago
by Copilot
0%
Fix cargo fmt --check by removing trailing whitespace Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
11999e6
5 days ago
by Copilot
-12%
Add AVX2 SIMD acceleration for JSON string escaping Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
0c7e5a8
5 days ago
by Copilot
-4%
Add length-based fallback thresholds for SIMD JSON string escaping Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
dfa8ad0
5 days ago
by Copilot
0%
Add SIMD benchmark CLI and CI integration for real-world sourcemap performance testing Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
e8f51a5
5 days ago
by Copilot
0%
Make hex_chars static and fix clippy exit errors Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
64df53e
5 days ago
by Copilot
-2%
Update benchmark to exclude names from SIMD testing since names always use fallback Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
c8bb319
5 days ago
by Copilot
0%
Remove CLI benchmark tool and add L1 cache prefetch to SIMD implementations Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
c221c02
5 days ago
by Copilot
0%
Restore CLI benchmark tool and remove individual escape function benchmarks Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
95279b8
5 days ago
by Copilot
© 2025 CodSpeed Technology
Home Terms Privacy Docs