Skip to content

Instantly share code, notes, and snippets.

@IrakliJani
Created January 12, 2015 08:36
Show Gist options
  • Save IrakliJani/7cd5c40cec07ce13456f to your computer and use it in GitHub Desktop.
Save IrakliJani/7cd5c40cec07ce13456f to your computer and use it in GitHub Desktop.
io.js bench
http/chunked.js
http/chunked.js num=1 size=1 c=100: 11335
http/chunked.js num=1 size=64 c=100: 11092
http/chunked.js num=1 size=256 c=100: 10797
http/chunked.js num=4 size=1 c=100: 5760
http/chunked.js num=4 size=64 c=100: 5616
http/chunked.js num=4 size=256 c=100: 5675
http/chunked.js num=8 size=1 c=100: 3637
http/chunked.js num=8 size=64 c=100: 3723
http/chunked.js num=8 size=256 c=100: 3649
http/chunked.js num=16 size=1 c=100: 2045
http/chunked.js num=16 size=64 c=100: 2031
http/chunked.js num=16 size=256 c=100: 1924
http/client-request-body.js
http/client-request-body.js dur=5 type=asc bytes=32 method=write: 5273
http/client-request-body.js dur=5 type=asc bytes=32 method=end : 5187
http/client-request-body.js dur=5 type=asc bytes=256 method=write: 4920
http/client-request-body.js dur=5 type=asc bytes=256 method=end : 4613
http/client-request-body.js dur=5 type=asc bytes=1024 method=write: 5142
http/client-request-body.js dur=5 type=asc bytes=1024 method=end : 5165
http/client-request-body.js dur=5 type=utf bytes=32 method=write: 5213
http/client-request-body.js dur=5 type=utf bytes=32 method=end : 5359
http/client-request-body.js dur=5 type=utf bytes=256 method=write: 5290
http/client-request-body.js dur=5 type=utf bytes=256 method=end : 5345
http/client-request-body.js dur=5 type=utf bytes=1024 method=write: 5054
http/client-request-body.js dur=5 type=utf bytes=1024 method=end : 4888
http/client-request-body.js dur=5 type=buf bytes=32 method=write: 4690
http/client-request-body.js dur=5 type=buf bytes=32 method=end : 4820
http/client-request-body.js dur=5 type=buf bytes=256 method=write: 4770
http/client-request-body.js dur=5 type=buf bytes=256 method=end : 4897
http/client-request-body.js dur=5 type=buf bytes=1024 method=write: 4991
http/client-request-body.js dur=5 type=buf bytes=1024 method=end : 4771
http/cluster.js
http/cluster.js type=bytes length=4 c=50: 23731
http/cluster.js type=bytes length=4 c=500: 16807
http/cluster.js type=bytes length=1024 c=50: 18329
http/cluster.js type=bytes length=1024 c=500: 17015
http/cluster.js type=bytes length=102400 c=50: 679
http/cluster.js type=bytes length=102400 c=500: 726
http/cluster.js type=buffer length=4 c=50: 19844
http/cluster.js type=buffer length=4 c=500: 15863
http/cluster.js type=buffer length=1024 c=50: 18073
http/cluster.js type=buffer length=1024 c=500: 15913
http/cluster.js type=buffer length=102400 c=50: 14850
http/cluster.js type=buffer length=102400 c=500: 12448
http/end-vs-write-end.js
http/end-vs-write-end.js type=asc kb=64 c=100 method=write: 6724
http/end-vs-write-end.js type=asc kb=64 c=100 method=end : 6544
http/end-vs-write-end.js type=asc kb=128 c=100 method=write: 3559
http/end-vs-write-end.js type=asc kb=128 c=100 method=end : 3524
http/end-vs-write-end.js type=asc kb=256 c=100 method=write: 2101
http/end-vs-write-end.js type=asc kb=256 c=100 method=end : 1412
http/end-vs-write-end.js type=asc kb=1024 c=100 method=write: 424
http/end-vs-write-end.js type=asc kb=1024 c=100 method=end : 454
http/end-vs-write-end.js type=utf kb=64 c=100 method=write: 6174
http/end-vs-write-end.js type=utf kb=64 c=100 method=end : 6365
http/end-vs-write-end.js type=utf kb=128 c=100 method=write: 2972
http/end-vs-write-end.js type=utf kb=128 c=100 method=end : 3053
http/end-vs-write-end.js type=utf kb=256 c=100 method=write: 1818
http/end-vs-write-end.js type=utf kb=256 c=100 method=end : 1856
http/end-vs-write-end.js type=utf kb=1024 c=100 method=write: 510
http/end-vs-write-end.js type=utf kb=1024 c=100 method=end : 405
http/end-vs-write-end.js type=buf kb=64 c=100 method=write: 11398
http/end-vs-write-end.js type=buf kb=64 c=100 method=end : 11300
http/end-vs-write-end.js type=buf kb=128 c=100 method=write: 9726
http/end-vs-write-end.js type=buf kb=128 c=100 method=end : 9606
http/end-vs-write-end.js type=buf kb=256 c=100 method=write: 6675
http/end-vs-write-end.js type=buf kb=256 c=100 method=end : 6247
http/end-vs-write-end.js type=buf kb=1024 c=100 method=write: 2551
http/end-vs-write-end.js type=buf kb=1024 c=100 method=end : 2729
http/simple.js
http/simple.js type=bytes length=4 chunks=0 c=50: 13681
http/simple.js type=bytes length=4 chunks=0 c=500: 11276
http/simple.js type=bytes length=4 chunks=1 c=50: 11802
http/simple.js type=bytes length=4 chunks=1 c=500: 9225
http/simple.js type=bytes length=4 chunks=4 c=50: 7411
http/simple.js type=bytes length=4 chunks=4 c=500: 4965
http/simple.js type=bytes length=1024 chunks=0 c=50: 12118
http/simple.js type=bytes length=1024 chunks=0 c=500: 10517
http/simple.js type=bytes length=1024 chunks=1 c=50: 9525
http/simple.js type=bytes length=1024 chunks=1 c=500: 7601
http/simple.js type=bytes length=1024 chunks=4 c=50: 7434
http/simple.js type=bytes length=1024 chunks=4 c=500: 5592
http/simple.js type=bytes length=102400 chunks=0 c=50: 413
http/simple.js type=bytes length=102400 chunks=0 c=500: 398
http/simple.js type=bytes length=102400 chunks=1 c=50: 232
http/simple.js type=bytes length=102400 chunks=1 c=500: 229
http/simple.js type=bytes length=102400 chunks=4 c=50: 2978
http/simple.js type=bytes length=102400 chunks=4 c=500: 2376
http/simple.js type=buffer length=4 chunks=0 c=50: 12415
http/simple.js type=buffer length=4 chunks=0 c=500: 9675
http/simple.js type=buffer length=4 chunks=1 c=50: 11544
http/simple.js type=buffer length=4 chunks=1 c=500: 9085
http/simple.js type=buffer length=4 chunks=4 c=50: 10521
http/simple.js type=buffer length=4 chunks=4 c=500: 8457
http/simple.js type=buffer length=1024 chunks=0 c=50: 12642
http/simple.js type=buffer length=1024 chunks=0 c=500: 9624
http/simple.js type=buffer length=1024 chunks=1 c=50: 11475
http/simple.js type=buffer length=1024 chunks=1 c=500: 9363
http/simple.js type=buffer length=1024 chunks=4 c=50: 9968
http/simple.js type=buffer length=1024 chunks=4 c=500: 8049
http/simple.js type=buffer length=102400 chunks=0 c=50: 9806
http/simple.js type=buffer length=102400 chunks=0 c=500: 7707
http/simple.js type=buffer length=102400 chunks=1 c=50: 9590
http/simple.js type=buffer length=102400 chunks=1 c=500: 6950
http/simple.js type=buffer length=102400 chunks=4 c=50: 7912
http/simple.js type=buffer length=102400 chunks=4 c=500: 6288
fs/read-stream-throughput.js
fs/read-stream-throughput.js type=buf size=1024: 44
fs/read-stream-throughput.js type=buf size=4096: 164
fs/read-stream-throughput.js type=buf size=65535: 922
fs/read-stream-throughput.js type=buf size=1048576: 884
fs/read-stream-throughput.js type=asc size=1024: 43
fs/read-stream-throughput.js type=asc size=4096: 154
fs/read-stream-throughput.js type=asc size=65535: 1066
fs/read-stream-throughput.js type=asc size=1048576: 547
fs/read-stream-throughput.js type=utf size=1024: 18
fs/read-stream-throughput.js type=utf size=4096: 46
fs/read-stream-throughput.js type=utf size=65535: 98
fs/read-stream-throughput.js type=utf size=1048576: 88
fs/readfile.js
fs/readfile.js dur=5 len=1024 concurrent=1: 11376
fs/readfile.js dur=5 len=1024 concurrent=10: 20767
fs/readfile.js dur=5 len=16777216 concurrent=1: 136
fs/readfile.js dur=5 len=16777216 concurrent=10: 255
fs/write-stream-throughput.js
fs/write-stream-throughput.js dur=5 type=buf size=2: 0
fs/write-stream-throughput.js dur=5 type=buf size=1024: 50
fs/write-stream-throughput.js dur=5 type=buf size=65535: 150
fs/write-stream-throughput.js dur=5 type=buf size=1048576: 141
fs/write-stream-throughput.js dur=5 type=asc size=2: 0
fs/write-stream-throughput.js dur=5 type=asc size=1024: 49
fs/write-stream-throughput.js dur=5 type=asc size=65535: 169
fs/write-stream-throughput.js dur=5 type=asc size=1048576: 133
fs/write-stream-throughput.js dur=5 type=utf size=2: 0
fs/write-stream-throughput.js dur=5 type=utf size=1024: 41
fs/write-stream-throughput.js dur=5 type=utf size=65535: 175
fs/write-stream-throughput.js dur=5 type=utf size=1048576: 133
tls/throughput.js
tls/throughput.js dur=5 type=buf size=2: 3
tls/throughput.js dur=5 type=buf size=1024: 713
tls/throughput.js dur=5 type=buf size=1048576: 1088
tls/throughput.js dur=5 type=asc size=2: 3
tls/throughput.js dur=5 type=asc size=1024: 674
tls/throughput.js dur=5 type=asc size=1048576: 1089
tls/throughput.js dur=5 type=utf size=2: 2
tls/throughput.js dur=5 type=utf size=1024: 690
tls/throughput.js dur=5 type=utf size=1048576: 950
tls/tls-connect.js
tls/tls-connect.js concurrency=1 dur=5: 582
tls/tls-connect.js concurrency=10 dur=5: 687
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment