oxc-project
oxc-sourcemap
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: optimize JSON string escaping by eliminating serde dependency
#121
Closed
Comparing
copilot/fix-80
(
f1f60a3
) with
main
(
5f430dc
)
CodSpeed Performance Gauge
-25%
Improvements
1
Regressions
1
Untouched
2
New
0
Dropped
0
Ignored
0
No successful run was found on
main
(
d6e51d4
) during the generation of this report, so
5f430dc
was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
Benchmarks
Failed
to_json_string
Regression
benches/simple.rs::sourcemap::bench::SourceMap::to_json_string
CodSpeed Performance Gauge
-25%
7.1 µs
9.4 µs
Improved
add_name_add_source_and_content
benches/simple.rs::sourcemap::bench::SourceMapBuilder::add_name_add_source_and_content
CodSpeed Performance Gauge
+5%
2.8 µs
2.7 µs
Passed
to_json
benches/simple.rs::sourcemap::bench::SourceMap::to_json
CodSpeed Performance Gauge
0%
6.3 µs
6.3 µs
from_json_string
benches/simple.rs::sourcemap::bench::SourceMap::from_json_string
CodSpeed Performance Gauge
-1%
19 µs
19.1 µs
Commits
Click on a commit to change the comparison range
Base
main
5f430dc
-3%
up
8e7d2f8
3 days ago
by Boshen
-22%
Rewrite escape_json_string without using serde::Serialize::serialize Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
f1f60a3
3 days ago
by Copilot
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs