networknt / microservices-framework-benchmark

Raw benchmarks on throughput, latency and transfer of Hello World on popular microservices frameworks
MIT License
705 stars 127 forks source link

Go FastHttp Avg Latency Wrong? #53

Open One-Eye opened 5 years ago

One-Eye commented 5 years ago

Go FastHttp's average latency of 99.98ms in the readme seems wrong. I would think with its throughput and transfer and that it's on top of the list, its average latency would be lower. Maybe it's supposed to be 99.98 nanos? Or it's just a typo?

stevehu commented 5 years ago

I think the FastHttp sacrifices latency to gain more throughput. The test has been done long time ago on my desktop. Things might be changed and it would be better to run the test on your environment to get the latest numbers.