Skip to content

uucore: share a fluent resource between threads - dd perf + 45%#11220

Merged
sylvestre merged 1 commit into
uutils:mainfrom
oech3:sort-exec-malloc
Mar 18, 2026
Merged

uucore: share a fluent resource between threads - dd perf + 45%#11220
sylvestre merged 1 commit into
uutils:mainfrom
oech3:sort-exec-malloc

uucore: share a FluentResource between threads

a2b9ad3
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Mar 16, 2026 in 0s

Performance Gate Passed

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 16 improved benchmarks
✅ 282 untouched benchmarks
⏩ 48 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation dd_copy_1m_blocks 1.4 ms 1.2 ms +11.3%
Simulation dd_copy_8k_blocks 913.6 µs 772.1 µs +18.32%
Simulation dd_copy_with_seek 2.2 ms 2 ms +7.02%
Simulation dd_copy_4k_blocks 1.2 ms 1.1 ms +12.44%
Simulation dd_copy_64k_blocks 501.5 µs 365.8 µs +37.11%
Simulation dd_copy_with_skip 2.1 ms 2 ms +6.9%
Simulation dd_copy_partial 455.8 µs 314.6 µs +44.85%
Memory dd_copy_with_skip 103.2 KB 18.4 KB ×5.6
Memory dd_copy_4k_blocks 102.9 KB 18.1 KB ×5.7
Memory dd_copy_with_seek 103.2 KB 18.4 KB ×5.6
Memory dd_copy_separate_blocks 178.3 KB 137.2 KB +29.95%
Memory dd_copy_default 99.5 KB 14.7 KB ×6.8
Memory dd_copy_partial 102.9 KB 18.1 KB ×5.7
Memory dd_copy_1m_blocks 1.1 MB 1 MB +8.17%
Memory dd_copy_8k_blocks 106.9 KB 22.1 KB ×4.8
Memory dd_copy_64k_blocks 162.9 KB 78.1 KB ×2.1

Comparing oech3:sort-exec-malloc (a2b9ad3) with main (ff6dd99)

Open in CodSpeed

Footnotes

  1. 48 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.