Files
coreutils/.github
Cả thế giới là Rust 77c3498014 feat(dd): add first benchmark suite for performance validation (#9136)
* feat(dd): add comprehensive benchmark suite for O_DIRECT optimization

- Create dd's first benchmark suite using divan framework
- Benchmark various block sizes (4K, 8K, 64K, 1M) to measure performance
- Test different dd scenarios: default, partial copy, skip, seek operations
- Measure impact of separate input/output block sizes
- All benchmarks use status=none to avoid output noise
- Benchmarks verify the O_DIRECT buffer alignment optimization
- Follows existing uutils benchmark patterns and conventions

* bench(dd): increase dataset sizes for consistent timing

Increase benchmark dataset sizes to achieve consistent 100-300ms timing:
- dd_copy_default: 16 -> 32 MB
- dd_copy_4k_blocks: 16 -> 24 MB
- dd_copy_64k_blocks: 16 -> 64 MB
- dd_copy_1m_blocks: 16 -> 128 MB
- dd_copy_separate_blocks: 16 -> 48 MB
- dd_copy_partial: 16 -> 32 MB
- dd_copy_with_skip: 16 -> 48 MB
- dd_copy_with_seek: 16 -> 48 MB
- dd_copy_8k_blocks: 16 -> 32 MB

This ensures stable, repeatable benchmark measurements across different systems.

---------

Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
2025-12-30 18:37:12 +01:00
..
2023-06-11 18:53:42 +02:00
2023-01-30 08:51:28 +01:00