4 ms·
Little bit confused by the chart in the benchmark section: https://github.com/zeromicro/go-zero#7-benchmark https://github.com/zeromicro/go-zero#7-benchmark Wh
by isuckatcoding 5y ago
Little bit confused by the chart in the benchmark section: https://github.com/zeromicro/go-zero#7-benchmark https://github.com/zeromicro/go-zero#7-benchmark
What is it trying to show?
- patrickevans 5y agoCompares to the other frameworks, the test code is here: https://github.com/smallnest/go-web-framework-benchmark https://github.com/smallnest/go-web-framework-benchmark
- sethammons 5y agoThe graph is unparsable for me. Typically, for what I think is trying to be shown, you would put the requests per second on the x axis, you would put the response times on the y axis, and the color coding be to assign them a label of the framework. I'd probably use a line chart too since, as we increase rps, we expect a change in response time. What the graph reads: If my framework is beego and I want to get 30k rps, I would need to limit my data to processing times in the 0ms bucket. I think? Or maybe gin will allow for 7.5k rps if my processing time is 500ms? Like, I think I can get to similar information to what you are trying to show if I read backwards, upside down, and rotated 90 degrees.
- Zababa 5y agoMaking the graph start at 5000 instead of 0 looks dishonest.
- patrickevans 5y agoI agree. But it's plotted by the benchmark project, not written by me. I didn't spend time changing it.