Fri Apr 29 13:11:04 2016

Server Performance Benchmark Report

Below are the results of testing network server implementations. Each server is constrained to run in a single process. Test environment: Linux 4.4.5 (Ubuntu 16.04, x86_64) on Intel(R) Xeon(R) CPU E5-1620 v2 @ 3.70GHz.

Results

Detailed Benchmark Data

unixecho
1.0KiB, c 10 10.0KiB, c 10 100.0KiB, c 10
asyncio
Requests/sec94998.8 76708.63 38700.67
Transfer/sec92.77MiB 749.11MiB 3779.36MiB
Min latency0.03ms 0.03ms 0.05ms
Mean latency0.097ms 0.121ms 0.25ms
Max latency13.63ms 8.61ms 5.83ms
Latency variation0.049ms (50.49%) 0.052ms (42.7%) 0.08ms (32.2%)
asyncio streams
Requests/sec28175.63 24707.5 12646.4
Transfer/sec27.52MiB 241.28MiB 1235.0MiB
Min latency0.08ms 0.33ms 0.68ms
Mean latency0.347ms 0.396ms 0.781ms
Max latency5.98ms 6.6ms 5.88ms
Latency variation0.026ms (7.36%) 0.027ms (6.89%) 0.029ms (3.66%)
uvloop
Requests/sec184665.07 137001.57 37251.83
Transfer/sec180.34MiB 1337.91MiB 3637.87MiB
Min latency0.01ms 0.01ms 0.06ms
Mean latency0.044ms 0.064ms 0.26ms
Max latency15.74ms 15.73ms 4.25ms
Latency variation0.066ms (149.17%) 0.056ms (87.07%) 0.083ms (31.88%)
uvloop streams
Requests/sec47264.77 38356.9 14257.83
Transfer/sec46.16MiB 374.58MiB 1392.37MiB
Min latency0.09ms 0.04ms 0.49ms
Mean latency0.203ms 0.253ms 0.692ms
Max latency4.99ms 4.25ms 7.02ms
Latency variation0.066ms (32.51%) 0.078ms (30.71%) 0.207ms (29.9%)