oxc-project
sort-package-json
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
perf: reduce allocations in sorting pipeline
#65
Merged
Comparing
perf/reduce-allocations
(
d05fc00
) with
main
(
4a18956
)
CodSpeed Performance Gauge
+10%
Improvement
3
Untouched
1
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
4 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort already sorted package.json
benches/sort.rs::benches::bench_already_sorted
CodSpeed Performance Gauge
+10%
198.6 µs
181 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort large package.json
benches/sort.rs::benches::bench_large_package
CodSpeed Performance Gauge
+9%
84 µs
76.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort small package.json
benches/sort.rs::benches::bench_small_package
CodSpeed Performance Gauge
+8%
198 µs
184.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
sort minimal package.json
benches/sort.rs::benches::bench_minimal_package
CodSpeed Performance Gauge
+2%
12.2 µs
11.9 µs
Commits
Click on a commit to change the comparison range
Base
main
4a18956
+9.71%
perf: reduce allocations in sorting pipeline
d05fc00
2 days ago
by Boshen
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs