diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2021-11-02 15:46:05 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-11-03 11:22:26 -0700 |
commit | df7000cd910a5f6991f73991b87d838a5d75e2fc (patch) | |
tree | c86f0b59fd5f40fdbb7fdecf80ce4058b6cf9767 /Documentation/RelNotes/2.13.1.txt | |
parent | test-genzeros: allow more than 2G zeros in Windows (diff) | |
download | tgif-df7000cd910a5f6991f73991b87d838a5d75e2fc.tar.xz |
test-tool genzeros: generate large amounts of data more efficiently
In this developer's tests, producing one gigabyte worth of NULs in a
busy loop that writes out individual bytes, unbuffered, took ~27sec.
Writing chunked 256kB buffers instead only took ~0.6sec
This matters because we are about to introduce a pair of test cases that
want to be able to produce 5GB of NULs, and we cannot use `/dev/zero`
because of the HP NonStop platform's lack of support for that device.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/2.13.1.txt')
0 files changed, 0 insertions, 0 deletions