diff options
author | Björn Gustavsson <[email protected]> | 2017-10-13 13:28:25 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2017-10-18 14:05:00 +0200 |
commit | 360d26b21c169b0c88d6ca43265cbcfa3ce9ef74 (patch) | |
tree | 7476c8aaed61a5f788f635c2d46807df72bab6cc /.gitignore | |
parent | b73c4d012e122547c896f64d92ef9af3e531433e (diff) | |
download | otp-360d26b21c169b0c88d6ca43265cbcfa3ce9ef74.tar.gz otp-360d26b21c169b0c88d6ca43265cbcfa3ce9ef74.tar.bz2 otp-360d26b21c169b0c88d6ca43265cbcfa3ce9ef74.zip |
Buffer writing of crash dumps
Writing of crash dumps were done using unbuffered IO. This
is slow since many small writes are done.
Use a FILE* with an allocated buffer to obtain buffered IO.
I wrote a small test program that created 50000 binaries of 200 bytes
each and then created a crash dump. The crash dumping was an order of
magnitude faster with buffered IO than without.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions