smallnest / go-web-framework-benchmark

:zap: Go web framework benchmark

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add latency and memory usage data in test result

smallnest opened this issue · comments

Latency and memory usage are also important measures to compare go web frameworks.

added

@smallnest , I'd recommend reducing the number of threads in wrk (-t argument) to the number of CPU cores in the system the wrk is running on or even to smaller values. This should reduce latencies unrelated to server implementations. See https://www.reddit.com/r/golang/comments/4ep79n/performance_test_java_undertow_go_fasthttp_and_go/d264856 for details.

@valyala yes, I will change the scripts

@valyala yes, I will change the scripts