Skip to content

cp: better permissions mode handling with umask awareness#10904

Open
my4ng wants to merge 6 commits into
uutils:mainfrom
my4ng:cp_mode
Open

cp: better permissions mode handling with umask awareness#10904
my4ng wants to merge 6 commits into
uutils:mainfrom
my4ng:cp_mode

test: condense mode tests with rstest

8d082ea
Select commit
Loading
Failed to load commit list.
CodSpeed HQ / CodSpeed Performance Analysis succeeded Apr 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

⚡ 5 improved benchmarks
✅ 304 untouched benchmarks
⏩ 46 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation cp_archive_balanced_tree[(5, 4, 10)] 76.8 ms 62.1 ms +23.7%
Simulation cp_recursive_wide_tree[(6000, 800)] 187.8 ms 156.1 ms +20.28%
Simulation cp_preserve_metadata[(5, 4, 10)] 73.7 ms 59.2 ms +24.43%
Simulation cp_recursive_balanced_tree[(5, 4, 10)] 71.4 ms 56.6 ms +26.06%
Simulation cp_recursive_deep_tree[(120, 4)] 13.1 ms 8.7 ms +50.18%

Comparing my4ng:cp_mode (8d082ea) with main (b7e967c)

Open in CodSpeed

Footnotes

  1. 46 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.