diff options
author | Denys Vlasenko | 2022-01-04 00:50:32 +0100 |
---|---|---|
committer | Denys Vlasenko | 2022-01-04 00:51:04 +0100 |
commit | 1fc520ed286f815cae1da1e9f8014cb18a256744 (patch) | |
tree | 285e2474f85c03b7d93a4e905276569589cee156 /shell/ash_test/ash-arith/arith-for.testsx | |
parent | 7abb2bb96e0cd584f44dd8b219ad16d0232a6485 (diff) | |
download | busybox-1fc520ed286f815cae1da1e9f8014cb18a256744.zip busybox-1fc520ed286f815cae1da1e9f8014cb18a256744.tar.gz |
md5/shaXsum: use FEATURE_COPYBUF_KB to size the buffer instead of fixed 4k
function old new delta
md5_sha1_sum_main 536 565 +29
hash_file 419 401 -18
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 29/-18) Total: 11 bytes
In my test, for unrolled sha1, COPYBUF_KB=64 increases throughput
from 367 MB/s to 457 MB/s.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash_test/ash-arith/arith-for.testsx')
0 files changed, 0 insertions, 0 deletions