编辑“︁
YARV
”︁(章节)
跳转到导航
跳转到搜索
脚本错误:没有“Mainspace editnotice”这个模块。
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
== 性能 == 由rubychan.de給出的評分,可以看到YARV有著大幅的性能提升。<ref>[http://www.rubychan.de/share/yarv_speedups.html Benchmarks: Ruby 1.8 and Ruby 1.9] {{Wayback|url=http://www.rubychan.de/share/yarv_speedups.html |date=20070105162940 }} (rubychan.de)</ref> 而Antonio Cangiano 給出的評分顯示,平均起來YARV比原來的解譯器要快3倍。<ref>{{cite web | url=http://antoniocangiano.com/2007/12/03/the-great-ruby-shootout/ | title=The Great Ruby Shootout | date=2007-03-12 | last=Cangiano | first=Antonio | accessdate=2008-02-01 | archive-date=2012-02-23 | archive-url=https://www.webcitation.org/65etwmYdr?url=http://programmingzen.com/2007/12/03/the-great-ruby-shootout/ | dead-url=no }}</ref> 兩個評分給出的都是綜合性的結果。 據報導,在YARV上執行的Ruby on Rails 比在1.8.6上執行要快15%<ref>{{cite web |url = http://eigenclass.org/hiki/non-synthetic-benchmarks-for-yarv |title = Rails on 1.9: first benchmarks, YARV exposed to non-synthetic tests |quote = ''When benchmarking basic requests with a minimalistic schema (only one int column), even though YARV serviced requests 15% faster, it took much longer to load the environment (50% slower). This comes as no surprise since plain old (evil) eval is slower in YARV(...)In fact, the mere fact of requiring active_record (and indirectly ActiveSupport) causes a sharp decrease in performance.'' |publisher = eigenclass.org |date = 2007-03-28 |accessdate = 2008-09-13 |deadurl = yes |archiveurl = https://web.archive.org/web/20081218094241/http://eigenclass.org/hiki/non-synthetic-benchmarks-for-yarv |archivedate = 2008-12-18 }}</ref>。然而,啟動和ActiveRecord功能反而變慢了。
摘要:
请注意,所有对Local Chinese Wikipedia的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
Project:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
导航菜单
个人工具
未登录
讨论
贡献
创建账号
登录
命名空间
页面
讨论
大陆简体
不转换
简体
繁體
大陆简体
香港繁體
澳門繁體
大马简体
新加坡简体
臺灣正體
查看
阅读
编辑
查看历史
更多
搜索
导航
首页
最近更改
随机页面
MediaWiki帮助
工具
链入页面
相关更改
特殊页面
页面信息