Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We were previously doing one write() syscall per dumpfile line, which was pretty wasteful. This collects 32KiB before doing a single syscall, which shaves ~20% the time it takes the write the dumpfile to a pipe or /dev/null, and is ~3.5x faster when redirecting to a file (although this is not really our main use case).
- Loading branch information