minio/internal/ioutil
Harshavardhana 14d8a931fe
re-use io.Copy buffers with 32k pools (#13553)
Borrowed idea from Go's usage of this
optimization for ReadFrom() on client
side, we should re-use the 32k buffers
io.Copy() allocates for generic copy
from a reader to writer.

the performance increase for reads for
really tiny objects is at this range
after this change.

> * Fastest: +7.89% (+1.3 MiB/s) throughput, +7.89% (+1308.1) obj/s
2021-11-02 08:11:50 -07:00
..
append-file_nix.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
append-file_windows.go fix: honor system umask for file creates (#12601) 2021-07-06 12:54:16 -07:00
ioutil.go re-use io.Copy buffers with 32k pools (#13553) 2021-11-02 08:11:50 -07:00
ioutil_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
odirect_reader.go directio: Check if buffers are set. (#13440) 2021-10-14 10:19:17 -07:00
read_file.go use O_DIRECT for all ReadFileStream (#13324) 2021-09-29 16:40:28 -07:00
read_file_noatime_notsupported.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
read_file_noatime_supported.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
wait_pipe.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00