[#46329] [ruby-trunk - Feature #7252][Assigned] version number of 2.0 release — "usa (Usaku NAKAMURA)" <usa@...>

26 messages 2012/11/01

[#46350] RubySpecメンテナ — Yukihiro Matsumoto <matz@...>

まつもと ゆきひろです

15 messages 2012/11/02
[#46352] Re: RubySpecメンテナ — Urabe Shyouhei <shyouhei@...> 2012/11/02

On 11/01/2012 07:43 PM, Yukihiro Matsumoto wrote:

[#46414] [ruby-trunk - Bug #7287][Open] please rename atomic.h which conflicts with /usr/include/atomic.h in Solaris10 — "ngoto (Naohisa Goto)" <ngotogenome@...>

10 messages 2012/11/06

[#46434] トラップハンドラで許されない操作はなにか — KOSAKI Motohiro <kosaki.motohiro@...>

GyRCPi46aiRHJDkbKEIKCltCdWcgIzcxMzRdIBskQiRyRDQkWSRGJCQkRj88SiUkSjtFTU1MZEJq

9 messages 2012/11/06

[#46440] [ruby-trunk - Bug #7300][Open] Hash#[] の挙動が 1.9.3 と異なっている — "hsbt (Hiroshi SHIBATA)" <shibata.hiroshi@...>

12 messages 2012/11/07

[#46477] Fwd: [ruby-changes:25559] shugo:r37616 (trunk): * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo): — SASADA Koichi <ko1@...>

refinement を導入するときの性能に対する excuse が「method cache に殆どあ

20 messages 2012/11/11
[#46480] Re: Fwd: [ruby-changes:25559] shugo:r37616 (trunk): * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo): — Shugo Maeda <shugo@...> 2012/11/11

前田です。

[#46488] Re: Fwd: [ruby-changes:25559] shugo:r37616 (trunk): * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo): — SASADA Koichi <ko1@...> 2012/11/12

 ささだです.

[#46491] Re: Fwd: [ruby-changes:25559] shugo:r37616 (trunk): * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo): — Shugo Maeda <shugo@...> 2012/11/12

前田です。

[#46493] Re: Fwd: [ruby-changes:25559] shugo:r37616 (trunk): * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo): — SASADA Koichi <ko1@...> 2012/11/12

 ささだです.

[#46495] Re: Fwd: [ruby-changes:25559] shugo:r37616 (trunk): * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo): — Shugo Maeda <shugo@...> 2012/11/12

前田です。

[#46497] Re: Fwd: [ruby-changes:25559] shugo:r37616 (trunk): * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo): — SASADA Koichi <ko1@...> 2012/11/12

(2012/11/12 18:20), Shugo Maeda wrote:

[#46501] Re: Fwd: [ruby-changes:25559] shugo:r37616 (trunk): * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo): — Shugo Maeda <shugo@...> 2012/11/12

前田です。

[#46513] Re: Fwd: [ruby-changes:25559] shugo:r37616 (trunk): * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo): — Nobuyoshi Nakada <nobu@...> 2012/11/14

なかだです。

[#46509] [ruby-trunk - Bug #7344][Open] gem pristine bigdecimal が失敗してしまう — "hsbt (Hiroshi SHIBATA)" <shibata.hiroshi@...>

31 messages 2012/11/13

[#46520] [ruby-trunk - Bug #7356][Open] ruby-2.0.0-preview1 で adlint-2.6.10 が性能劣化 — "yanoh (Yutaka Yanoh)" <yutaka@...>

11 messages 2012/11/15

[#46647] [ruby-trunk - Bug #7452][Assigned] Main thread is stopped after running finalizers if the main thread has a finalizer — "mrkn (Kenta Murata)" <muraken@...>

8 messages 2012/11/28

[ruby-dev:46537] Re: Fwd: [ruby-changes:25559] shugo:r37616 (trunk): * vm_core.h (rb_call_info_t::refinements), compile.c (new_callinfo):

From: Shugo Maeda <shugo@...>
Date: 2012-11-19 04:16:07 UTC
List: ruby-dev #46537
前田です。

2012年11月19日 0:53 Shugo Maeda <shugo@ruby-lang.org>:
> とりあえず、上記の方針で実装してみました。
>
>   http://shugo.net/tmp/refinement_fix_1119.diff

ベンチマークを取ってみました。
左が修正前、右が修正後です。
VirtualBox上で取ったのでどなたか追試していただけるとありがたいです。

benchmark results:
Execution time (sec)
name ruby 2.0.0dev (2012-11-17 trunk 37698) [i686-linux] ruby 2.0.0dev
(2012-11-17 trunk 37698) [i686-linux]
app_mandelbrot 4.913 5.017
app_tak 2.839 2.908
app_tarai 2.317 2.346
loop_whileloop 1.540 1.572
loop_whileloop2 0.337 0.332
so_mandelbrot 14.508 14.347
vm1_yield* 1.682 1.389
vm2_defined_method* 5.978 6.099
vm2_method* 3.191 3.090
vm2_method_missing* 5.432 4.683
vm2_method_with_block* 3.105 3.095
vm2_poly_method* 5.922 5.224
vm2_poly_method_ov* 0.520 0.508
vm3_clearmethodcache 0.864 0.762

Speedup ratio comare with the result of `["ruby-r37698-optimized",
"ruby 2.0.0dev (2012-11-17 trunk 37698) [i686-linux]"]' (greater is
better)
name ruby 2.0.0dev (2012-11-17 trunk 37698) [i686-linux]
app_mandelbrot 0.979
app_tak 0.976
app_tarai 0.988
loop_whileloop 0.980
loop_whileloop2 1.014
so_mandelbrot 1.011
vm1_yield* 1.211
vm2_defined_method* 0.980
vm2_method* 1.033
vm2_method_missing* 1.160
vm2_method_with_block* 1.003
vm2_poly_method* 1.134
vm2_poly_method_ov* 1.025
vm3_clearmethodcache 1.133

--
Shugo Maeda

In This Thread

Prev Next