<p><a href="https://www.techempower.com/benchmarks/#section=data-r16">https://www.techempower.com/benchmarks/#section=data-r16</a></p>
<p>Related blog post<br/>
<a href="https://www.techempower.com/blog/2018/06/06/framework-benchmarks-round-16/">https://www.techempower.com/blog/2018/06/06/framework-benchmarks-round-16/</a></p>
<hr/>**评论:**<br/><br/>Thaxll: <pre><p>Would be nice if they try something else in the json serialization, I think we have tons of fast json libs nowdays ...</p></pre>dcuadrado: <pre><p>I added chi benchmarks and also added the fastest JSON libraries available: gojay, sjson and easyjson. you can see the results there</p></pre>Thaxll: <pre><p>There is probably something wrong, not sure how gojay is that slow compare to the rest, from my own test it's up to 10x faster than the regular json lib.</p></pre>dcuadrado: <pre><p>here's the code: <a href="https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/Go/chi/src/chi-gojay/server.go#L131" rel="nofollow">https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/Go/chi/src/chi-gojay/server.go#L131</a></p></pre>ar1819: <pre><p>Java is still dominating everything aside from plaintext, tho it's not surprising. Rust and Go hold first two positions in plain text benchmark but I find it hard to justify "custom nginx" where there is normal nginx.</p>
<p>Other than that - Go still holds quite good positions. It would be interesting to see how it changes with new runtime in 1.11. Especially new <a href="https://github.com/golang/go/issues/24543" rel="nofollow">scheduler</a>. </p></pre>geodel: <pre><p>Well Java will keep dominating. May be it is not their purpose but they do not mention how much memory that framework is consuming. Go will perform very well on that metrics. </p>
<p>Now I know many claim RAM is cheap and all. But in cloud environment Java based solution will be more expensive to run.</p></pre>dcuadrado: <pre><p>I think the new scheduler is coming in 1.12, not 1.11</p></pre>
