Created
February 12, 2013 06:23
-
-
Save isaacs/4760607 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./node benchmark/fs/write-stream-throughput.js dur=1 | |
fs/write-stream-throughput.js dur=1 type=buf size=2: 0.058141 | |
fs/write-stream-throughput.js dur=1 type=buf size=1024: 55.152 | |
fs/write-stream-throughput.js dur=1 type=buf size=65535: 99.098 | |
fs/write-stream-throughput.js dur=1 type=buf size=1048576: 74.485 | |
fs/write-stream-throughput.js dur=1 type=asc size=2: 0.054465 | |
fs/write-stream-throughput.js dur=1 type=asc size=1024: 46.233 | |
fs/write-stream-throughput.js dur=1 type=asc size=65535: 144.23 | |
fs/write-stream-throughput.js dur=1 type=asc size=1048576: 129.42 | |
fs/write-stream-throughput.js dur=1 type=utf size=2: 0.054108 | |
fs/write-stream-throughput.js dur=1 type=utf size=1024: 39.867 | |
fs/write-stream-throughput.js dur=1 type=utf size=65535: 110.78 | |
fs/write-stream-throughput.js dur=1 type=utf size=1048576: 95.809 | |
$ ../node-v0.8/node benchmark/fs/write-stream-throughput.js dur=1 | |
fs/write-stream-throughput.js dur=1 type=buf size=2: 0.10760 | |
fs/write-stream-throughput.js dur=1 type=buf size=1024: 51.591 | |
fs/write-stream-throughput.js dur=1 type=buf size=65535: 145.70 | |
fs/write-stream-throughput.js dur=1 type=buf size=1048576: 129.86 | |
fs/write-stream-throughput.js dur=1 type=asc size=2: 0.076652 | |
fs/write-stream-throughput.js dur=1 type=asc size=1024: 34.334 | |
fs/write-stream-throughput.js dur=1 type=asc size=65535: 120.51 | |
fs/write-stream-throughput.js dur=1 type=asc size=1048576: 109.81 | |
fs/write-stream-throughput.js dur=1 type=utf size=2: 0.075759 | |
fs/write-stream-throughput.js dur=1 type=utf size=1024: 21.604 | |
fs/write-stream-throughput.js dur=1 type=utf size=65535: 115.12 | |
fs/write-stream-throughput.js dur=1 type=utf size=1048576: 90.400 | |
$ gcc -o iotest benchmark/io.c && ./iotest | |
Wrote 1048576000 bytes in 9.462148s using 1024 byte buffers: 105.684248 | |
Wrote 1048576000 bytes in 9.565397s using 4096 byte buffers: 104.543492 | |
Wrote 1048576000 bytes in 10.388883s using 8192 byte buffers: 96.256739 | |
Wrote 1048576000 bytes in 9.728917s using 16384 byte buffers: 102.786364 | |
Wrote 1048576000 bytes in 9.587146s using 32768 byte buffers: 104.306328 | |
Wrote 1048576000 bytes in 9.981552s using 65536 byte buffers: 100.184821 | |
Read 1048576000 bytes in 0.651038s using 1024 byte buffers: 1536.008651mB/s | |
Read 1048576000 bytes in 0.265541s using 4096 byte buffers: 3765.896792mB/s | |
Read 1048576000 bytes in 0.206052s using 8192 byte buffers: 4853.143867mB/s | |
Read 1048576000 bytes in 0.178796s using 16384 byte buffers: 5592.966286mB/s | |
Read 1048576000 bytes in 0.165311s using 32768 byte buffers: 6049.204227mB/s | |
Read 1048576000 bytes in 0.159744s using 65536 byte buffers: 6260.016026mB/s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment