aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-10-13 13:28:25 +0200
committerBjörn Gustavsson <[email protected]>2017-10-18 14:05:00 +0200
commit360d26b21c169b0c88d6ca43265cbcfa3ce9ef74 (patch)
tree7476c8aaed61a5f788f635c2d46807df72bab6cc /lib
parentb73c4d012e122547c896f64d92ef9af3e531433e (diff)
downloadotp-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 'lib')
0 files changed, 0 insertions, 0 deletions