diff options
| author | Pádraig Brady <P@draigBrady.com> | 2024-05-09 14:03:38 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2024-05-09 15:03:56 +0100 |
| commit | ccf47cad93bc0b85da0401b0a9d4b652e4c930e4 (patch) | |
| tree | 061cfc143f1c7f85839f54210e40878579d2c464 /tests | |
| parent | wc: simplify and generalize AVX code (diff) | |
| download | coreutils-ccf47cad93bc0b85da0401b0a9d4b652e4c930e4.tar.gz coreutils-ccf47cad93bc0b85da0401b0a9d4b652e4c930e4.zip | |
wc: increase I/O size from 16 KiB to 256KiB
Similarly to commit v9.4-143-gfcfba90d0,
and enabled for AVX by commit v9.5-25-g0e4450103.
This was seen to improve AVX performance by about 10%
on an AMD 7800X3D (Ryzen 7 (2023)) CPU,
while having neutral AVX performance,
on an Intel i7-5600U (Broadwell-U (2015)) CPU.
With avx not enabled, this gives about a 3% performance boost,
on an Intel i7-5600U.
* src/wc.c: Use the centrally configured optimum buffer size.
* src/wc_avx2.c: Likewise.
* NEWS: Mention the change in performance.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
