← Files Unix CopilotARCHIVED FILE

references/performance-pipelines.md

701 Bytes · Nov 21, 2026 · 12:44 UTC

↓ Download file

See the change to this file →

# Command-line performance

Identify measured bottlenecks: process startup, repeated scans, CPU, memory, I/O, storage device and external commands. Avoid recommending `xargs -P` with unbounded parallelism on shared systems. Streaming can reduce memory but may change semantics, particularly with sorting or aggregation.

Use representative samples and correct comparison methods; timings from different hosts or versions are not directly comparable. Compare checksums/records as well as throughput. GNU options like `sort --parallel` are not portable to stock macOS.

Primary: GNU coreutils https://www.gnu.org/software/coreutils/manual/ ; GNU findutils https://www.gnu.org/software/findutils/manual/

SHA-256: e810c1bc71eef102a8b7ca7fbcf65915c4ff7c766fdac1bf2261baa77dfe2b74