Skip to content

Instantly share code, notes, and snippets.

@IrakliJani
Created January 12, 2015 09:18
Show Gist options
  • Save IrakliJani/54a48f59f7ac4e8e3ac8 to your computer and use it in GitHub Desktop.
Save IrakliJani/54a48f59f7ac4e8e3ac8 to your computer and use it in GitHub Desktop.
node.js bench
http/chunked.js
http/chunked.js num=1 size=1 c=100: 11838
http/chunked.js num=1 size=64 c=100: 11576
http/chunked.js num=1 size=256 c=100: 11832
http/chunked.js num=4 size=1 c=100: 6681.5
http/chunked.js num=4 size=64 c=100: 6585.4
http/chunked.js num=4 size=256 c=100: 6519.7
http/chunked.js num=8 size=1 c=100: 4223.9
http/chunked.js num=8 size=64 c=100: 4056.1
http/chunked.js num=8 size=256 c=100: 4100.8
http/chunked.js num=16 size=1 c=100: 2345.4
http/chunked.js num=16 size=64 c=100: 2269.2
http/chunked.js num=16 size=256 c=100: 2234.5
http/client-request-body.js
http/client-request-body.js dur=5 type=asc bytes=32 method=write: 5645.3
http/client-request-body.js dur=5 type=asc bytes=32 method=end : 5753.2
http/client-request-body.js dur=5 type=asc bytes=256 method=write: 5680.5
http/client-request-body.js dur=5 type=asc bytes=256 method=end : 5663.3
http/client-request-body.js dur=5 type=asc bytes=1024 method=write: 5497.6
http/client-request-body.js dur=5 type=asc bytes=1024 method=end : 5493.2
http/client-request-body.js dur=5 type=utf bytes=32 method=write: 5670.5
http/client-request-body.js dur=5 type=utf bytes=32 method=end : 5681.6
http/client-request-body.js dur=5 type=utf bytes=256 method=write: 5688.1
http/client-request-body.js dur=5 type=utf bytes=256 method=end : 5711.9
http/client-request-body.js dur=5 type=utf bytes=1024 method=write: 5538.2
http/client-request-body.js dur=5 type=utf bytes=1024 method=end : 5452.2
http/client-request-body.js dur=5 type=buf bytes=32 method=write: 5375.4
http/client-request-body.js dur=5 type=buf bytes=32 method=end : 5085.1
http/client-request-body.js dur=5 type=buf bytes=256 method=write: 5077.1
http/client-request-body.js dur=5 type=buf bytes=256 method=end : 5250.7
http/client-request-body.js dur=5 type=buf bytes=1024 method=write: 5098.1
http/client-request-body.js dur=5 type=buf bytes=1024 method=end : 5161.2
http/cluster.js
http/cluster.js type=bytes length=4 c=50: 27940
http/cluster.js type=bytes length=4 c=500: 23078
http/cluster.js type=bytes length=1024 c=50: 22567
http/cluster.js type=bytes length=1024 c=500: 20269
http/cluster.js type=bytes length=102400 c=50: 773.28
http/cluster.js type=bytes length=102400 c=500: 754.67
http/cluster.js type=buffer length=4 c=50: 23676
http/cluster.js type=buffer length=4 c=500: 19722
http/cluster.js type=buffer length=1024 c=50: 23082
http/cluster.js type=buffer length=1024 c=500: 18533
http/cluster.js type=buffer length=102400 c=50: 17886
http/cluster.js type=buffer length=102400 c=500: 15801
http/end-vs-write-end.js
http/end-vs-write-end.js type=asc kb=64 c=100 method=write: 7346.9
http/end-vs-write-end.js type=asc kb=64 c=100 method=end : 6194.5
http/end-vs-write-end.js type=asc kb=128 c=100 method=write: 3771.8
http/end-vs-write-end.js type=asc kb=128 c=100 method=end : 2898.3
http/end-vs-write-end.js type=asc kb=256 c=100 method=write: 2256.2
http/end-vs-write-end.js type=asc kb=256 c=100 method=end : 1637.3
http/end-vs-write-end.js type=asc kb=1024 c=100 method=write: 423.94
http/end-vs-write-end.js type=asc kb=1024 c=100 method=end : 450.98
http/end-vs-write-end.js type=utf kb=64 c=100 method=write: 6436.0
http/end-vs-write-end.js type=utf kb=64 c=100 method=end : 6403.0
http/end-vs-write-end.js type=utf kb=128 c=100 method=write: 3153.9
http/end-vs-write-end.js type=utf kb=128 c=100 method=end : 3063.8
http/end-vs-write-end.js type=utf kb=256 c=100 method=write: 1819.7
http/end-vs-write-end.js type=utf kb=256 c=100 method=end : 1595.7
http/end-vs-write-end.js type=utf kb=1024 c=100 method=write: 478.66
http/end-vs-write-end.js type=utf kb=1024 c=100 method=end : 416.90
http/end-vs-write-end.js type=buf kb=64 c=100 method=write: 10862
http/end-vs-write-end.js type=buf kb=64 c=100 method=end : 10796
http/end-vs-write-end.js type=buf kb=128 c=100 method=write: 9519.6
http/end-vs-write-end.js type=buf kb=128 c=100 method=end : 8877.5
http/end-vs-write-end.js type=buf kb=256 c=100 method=write: 7849.1
http/end-vs-write-end.js type=buf kb=256 c=100 method=end : 6675.1
http/end-vs-write-end.js type=buf kb=1024 c=100 method=write: 2478.8
http/end-vs-write-end.js type=buf kb=1024 c=100 method=end : 2755.2
http/simple.js
http/simple.js type=bytes length=4 chunks=0 c=50: 14174
http/simple.js type=bytes length=4 chunks=0 c=500: 11669
http/simple.js type=bytes length=4 chunks=1 c=50: 12567
http/simple.js type=bytes length=4 chunks=1 c=500: 8914.1
http/simple.js type=bytes length=4 chunks=4 c=50: 8725.2
http/simple.js type=bytes length=4 chunks=4 c=500: 5705.5
http/simple.js type=bytes length=1024 chunks=0 c=50: 12866
http/simple.js type=bytes length=1024 chunks=0 c=500: 9702.0
http/simple.js type=bytes length=1024 chunks=1 c=50: 9508.6
http/simple.js type=bytes length=1024 chunks=1 c=500: 7869.5
http/simple.js type=bytes length=1024 chunks=4 c=50: 7607.3
http/simple.js type=bytes length=1024 chunks=4 c=500: 5719.8
http/simple.js type=bytes length=102400 chunks=0 c=50: 414.72
http/simple.js type=bytes length=102400 chunks=0 c=500: 400.47
http/simple.js type=bytes length=102400 chunks=1 c=50: 231.75
http/simple.js type=bytes length=102400 chunks=1 c=500: 223.49
http/simple.js type=bytes length=102400 chunks=4 c=50: 3031.6
http/simple.js type=bytes length=102400 chunks=4 c=500: 2276.5
http/simple.js type=buffer length=4 chunks=0 c=50: 12994
http/simple.js type=buffer length=4 chunks=0 c=500: 10276
http/simple.js type=buffer length=4 chunks=1 c=50: 12391
http/simple.js type=buffer length=4 chunks=1 c=500: 8708.6
http/simple.js type=buffer length=4 chunks=4 c=50: 11030
http/simple.js type=buffer length=4 chunks=4 c=500: 8803.8
http/simple.js type=buffer length=1024 chunks=0 c=50: 13409
http/simple.js type=buffer length=1024 chunks=0 c=500: 10482
http/simple.js type=buffer length=1024 chunks=1 c=50: 12473
http/simple.js type=buffer length=1024 chunks=1 c=500: 8976.7
http/simple.js type=buffer length=1024 chunks=4 c=50: 10753
http/simple.js type=buffer length=1024 chunks=4 c=500: 8552.5
http/simple.js type=buffer length=102400 chunks=0 c=50: 10669
http/simple.js type=buffer length=102400 chunks=0 c=500: 8212.5
http/simple.js type=buffer length=102400 chunks=1 c=50: 10033
http/simple.js type=buffer length=102400 chunks=1 c=500: 7767.5
http/simple.js type=buffer length=102400 chunks=4 c=50: 8784.3
http/simple.js type=buffer length=102400 chunks=4 c=500: 6731.9
fs/read-stream-throughput.js
fs/read-stream-throughput.js type=buf size=1024: 20.225
fs/read-stream-throughput.js type=buf size=4096: 76.764
fs/read-stream-throughput.js type=buf size=65535: 866.51
fs/read-stream-throughput.js type=buf size=1048576: 936.75
fs/read-stream-throughput.js type=asc size=1024: 18.071
fs/read-stream-throughput.js type=asc size=4096: 67.884
fs/read-stream-throughput.js type=asc size=65535: 835.80
fs/read-stream-throughput.js type=asc size=1048576: 556.51
fs/read-stream-throughput.js type=utf size=1024: 8.0751
fs/read-stream-throughput.js type=utf size=4096: 24.718
fs/read-stream-throughput.js type=utf size=65535: 78.809
fs/read-stream-throughput.js type=utf size=1048576: 86.950
fs/readfile.js
fs/readfile.js dur=5 len=1024 concurrent=1: 9629.9
fs/readfile.js dur=5 len=1024 concurrent=10: 16919
fs/readfile.js dur=5 len=16777216 concurrent=1: 138.53
fs/readfile.js dur=5 len=16777216 concurrent=10: 259.35
fs/write-stream-throughput.js
fs/write-stream-throughput.js dur=5 type=buf size=2: 0.11034
fs/write-stream-throughput.js dur=5 type=buf size=1024: 48.842
fs/write-stream-throughput.js dur=5 type=buf size=65535: 167.59
fs/write-stream-throughput.js dur=5 type=buf size=1048576: 126.98
fs/write-stream-throughput.js dur=5 type=asc size=2: 0.051957
fs/write-stream-throughput.js dur=5 type=asc size=1024: 24.480
fs/write-stream-throughput.js dur=5 type=asc size=65535: 201.28
fs/write-stream-throughput.js dur=5 type=asc size=1048576: 134.93
fs/write-stream-throughput.js dur=5 type=utf size=2: 0.050129
fs/write-stream-throughput.js dur=5 type=utf size=1024: 22.552
fs/write-stream-throughput.js dur=5 type=utf size=65535: 180.14
fs/write-stream-throughput.js dur=5 type=utf size=1048576: 129.10
tls/throughput.js
tls/throughput.js dur=5 type=buf size=2: 2.7658
tls/throughput.js dur=5 type=buf size=1024: 757.62
tls/throughput.js dur=5 type=buf size=1048576: 1115.2
tls/throughput.js dur=5 type=asc size=2: 2.6304
tls/throughput.js dur=5 type=asc size=1024: 707.54
tls/throughput.js dur=5 type=asc size=1048576: 1065.5
tls/throughput.js dur=5 type=utf size=2: 2.5989
tls/throughput.js dur=5 type=utf size=1024: 715.19
tls/throughput.js dur=5 type=utf size=1048576: 969.15
tls/tls-connect.js
tls/tls-connect.js concurrency=1 dur=5: 724.04
tls/tls-connect.js concurrency=10 dur=5: 779.82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment