Skip to content

Commit 773348f

Browse files
committed
fix
1 parent 3459bfc commit 773348f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/uu/cp/BENCHMARKING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- spell-checker:ignore hyperfine tmpfs reflink fsxattr xattrs clonefile -->
1+
<!-- spell-checker:ignore hyperfine tmpfs reflink fsxattr xattrs clonefile vmtouch APFS pathlib Btrfs fallocate journaling -->
22

33
# Benchmarking cp
44

@@ -30,10 +30,10 @@ being exercised so results can be interpreted correctly.
3030
- Build a release binary first: `cargo build --release -p uu_cp`.
3131
- Use `hyperfine` for timing and rely on the `--prepare` hook to reset state
3232
between runs.
33-
- Prefer running on a fast device (RAM disk, tmpfs, NVMe) to minimise raw
33+
- Prefer running on a fast device (RAM disk, tmpfs, NVMe) to minimize raw
3434
storage latency when isolating the cost of the tool.
3535
- On Linux, control the page cache where appropriate using tools like
36-
`vmtouch` or `echo 3 > /proc/sys/vm/drop_caches` (root required). Prioritise
36+
`vmtouch` or `echo 3 > /proc/sys/vm/drop_caches` (root required). Prioritize
3737
repeatability and stay within the policies of the host system.
3838
- Keep the workload definition explicit. When comparing against GNU `cp` or
3939
other implementations, ensure identical datasets and mount options.
@@ -56,7 +56,7 @@ hyperfine \
5656
What to record:
5757

5858
- Achieved throughput (MB/s) for large sequential copies.
59-
- Behaviour with `--reflink=auto` or `--sparse=auto` on filesystems that
59+
- Behavior with `--reflink=auto` or `--sparse=auto` on filesystems that
6060
support copy-on-write or sparse regions.
6161
- CPU overhead when enabling attribute preservation such as
6262
`--preserve=mode,timestamps,xattr`.
@@ -93,7 +93,7 @@ What to record:
9393
- Time spent in directory traversal and metadata replication.
9494
- Impact of toggling options such as `--preserve`, `--no-preserve`, `--link`,
9595
`--hard-link`, and `--archive`.
96-
- Behaviour when symbolic links or hard links are present, especially with
96+
- Behavior when symbolic links or hard links are present, especially with
9797
`--dereference` versus `--no-dereference`.
9898

9999
## Copy-on-write and sparse files
@@ -127,7 +127,7 @@ features are active.
127127
`--backup=numbered`) to see the impact of extra file operations.
128128

129129
Supplementary analysis with `strace -c` or `perf record` can show which system
130-
calls dominate and guide optimisation work.
130+
calls dominate and guide optimization work.
131131

132132
## Interpreting results
133133

0 commit comments

Comments
 (0)