IronRuby的性能?性能、IronRuby

2023-09-05 03:07:45 作者:余生愛浪

虽然我知道IronRuby的是没有完全准备好,为世界使用它,我想知道是否有人在这里尝试过了,测试它如何在原始性能方面的流线型针对其他红宝石在那里?

While I know IronRuby isn't quite ready for the world to use it, I was wondering if anyone here tried it and tested how well it faired against the other Rubies out there in terms of raw performance?

如果有,是什么结果?你如何去衡量性能(其基准等)?

If so, what are the results, and how did you go about measuring the performance (which benchmarks etc)?

修改:IronRuby团队维护一个网站上如何比较的Ruby MRI 1.8在 HTTP:/ /ironruby.info/ 。下面以规范合格率表,他们还对如何IronRuby的执行这些规范的一些信息。此表不持续更新,但我相信他们更新它往往不够(你可以看到在页面顶部的最后更新)。

Edit: The IronRuby team maintains a site on how they compare to Ruby MRI 1.8 at http://ironruby.info/. Below the spec pass rate table, they also have some information on how IronRuby performs on these specs. This table is not continuously updated, but I assume they update it often enough (you can see the last update at the top of the page).

推荐答案

根据这篇文章的 http://www.iunknown.com/2008/05/ironruby-and-rails.html 。在5月的表现远不及他们希望它是。我听到 http://altnetpodcast.com/episodes/9-state-of-ironruby (3天前),他们还在继续努力的表现。我猜他们把第一的兼容性,现在试图让性能达到标准与其他的Ruby实现那里。

According to this article http://www.iunknown.com/2008/05/ironruby-and-rails.html. In may performance was nowhere near where they expected it to be. I heard in http://altnetpodcast.com/episodes/9-state-of-ironruby (3 days ago) that they're still working on performance. I guess they put compatability first and are now trying to get the performance up to par with other ruby implementations out there.

据我了解他们几乎没有高性能的由同一个团队开发铁的Python。我不知道如果这是因为铁的R​​uby是使用DLR多了很多,而且还需要进行优化,如果他们需要更多的优化铁的Ruby实现本身。但我想这是一个好消息,因为他们可以得到它快了很多。所以,如果你已经满意的表现,你会得到很多快乐。

As far as I understand they're not nearly as performant as Iron Python that is developed by the same team. I don't know if this is because Iron Ruby is using the DLR a lot more and that still needs to be optimized or if they need to optimize the Iron Ruby implementation itself more. But I guess it is good news because they can get it a lot faster. So if you're already happy with performance you'll get a lot happier.