Ruby The Ruby Web Benchmark Report

sakura79 · 2014年07月16日 · 最后由 yakczh 回复于 2014年07月17日 · 2087 次阅读

一个比较全的性能测试,仅供参考。

http://www.madebymarket.com/blog/dev/ruby-web-benchmark-report.html

Yet another "hello world" benchmark ...

Yes, with the right combination of runtime, server, and framework Ruby can be nearly as fast as Go.

Hey! Is that true??

jruby 不赖呀,有意向 jruby 迁移。

此文写得好详细!

不过说实话 Hello World 的测试意义不大

#3 楼 @huacnlee 我觉得针对各种平台的 ruby 就有意义了。因为 erlang 和 go 的 hello world 对 ruby 也许没有什么意义,因为语言的差异导致开发效率的因素也是要考虑的。但如果都是 ruby 的平台就值得关注一下,毕竟更换语言并不是一个容易的选择,如果选 jruby 能大幅提高性能的话,还是可以考虑一下的。

The fastest server I’ve seen is the Torqbox gem, which is the beta for Torquebox 4 I guess. It doesn’t matter what they decide to call it, that server is fast. It’s ridiculously fast. On a plain old Rack app it did 10,159 req/sec. To put that into perspective, a standard Go Hello World app hit about 10,500 req/sec on my machine.

需要 登录 后方可回复, 如果你还没有账号请 注册新账号