Actix vs FastHTTP vs NanoExpress-Pro Benchmark: Static Hello world!
i ran benchmark on my laptop, i use bombardier to ran this benchmark with command :
$ bombardier local_addr
so here the result:
fasthttp
Statistics Avg Stdev Max
Reqs/sec 302537.54 14010.14 331327.77
Latency 411.24us 85.95us 18.69ms
HTTP codes:
1xx - 0, 2xx - 3024570, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 60.29MB/s
Reqs/sec 302537.54 14010.14 331327.77
Latency 411.24us 85.95us 18.69ms
HTTP codes:
1xx - 0, 2xx - 3024570, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 60.29MB/s
Actix 2.0
Statistics Avg Stdev Max
Reqs/sec 288177.00 85214.86 386095.98
Latency 430.58us 343.13us 56.47ms
HTTP codes:
1xx - 0, 2xx - 2882122, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 52.49MB/s
Statistics Avg Stdev Max
Reqs/sec 288177.00 85214.86 386095.98
Latency 430.58us 343.13us 56.47ms
HTTP codes:
1xx - 0, 2xx - 2882122, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 52.49MB/s
nanoexpress-pro
Statistics Avg Stdev Max
Reqs/sec 93092.12 23806.07 155663.70
Latency 1.34ms 72.66us 5.31ms
HTTP codes:
1xx - 0, 2xx - 930951, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 11.54MB/s
Statistics Avg Stdev Max
Reqs/sec 93092.12 23806.07 155663.70
Latency 1.34ms 72.66us 5.31ms
HTTP codes:
1xx - 0, 2xx - 930951, 3xx - 0, 4xx - 0, 5xx - 0
others - 0
Throughput: 11.54MB/s
that's it, sorry i didn't benchmark the cpu & memory usage, because i didn;t know benchmarking tool that support that
thankyou
Comments
Post a Comment