Techempower Framework Benchmarks (Round 16)

xuanbao · · 630 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<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&#39;s up to 10x faster than the regular json lib.</p></pre>dcuadrado: <pre><p>here&#39;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&#39;s not surprising. Rust and Go hold first two positions in plain text benchmark but I find it hard to justify &#34;custom nginx&#34; 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>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

630 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传