[#42338] [Ruby 1.9-Bug#3907][Open] WIN32OLE_TYPELIB Can't load while envvar in the pathname . — Akio Tajima <redmine@...>
Bug #3907: WIN32OLE_TYPELIB Can't load while envvar in the pathname .
[#42345] [Ruby 1.9-Feature#3917][Open] [proposal] called_from() which is much faster than caller() — makoto kuwata <redmine@...>
Feature #3917: [proposal] called_from() which is much faster than caller()
ささだです。
桑田です。日本語が文字化けしてたようで申し訳ないです。
桑田さん
[#42369] [BUG: trunk] Lazy sweep and ObjectSpace.each_object — SASADA Koichi <ko1@...>
ささだです。
まつもと ゆきひろです
ささだです。
nariです。
ささだです。
[#42375] [Ruby 1.9-Feature#3946][Open] Array#packのqQ指定子に機種依存サイズフラグ!を追加 — Yui NARUSE <redmine@...>
Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
2010年10月14日15:36 Yui NARUSE <redmine@ruby-lang.org>:
(2010/10/14 21:07), Tanaka Akira wrote:
2010年10月14日21:29 NARUSE, Yui <naruse@airemix.jp>:
2010年10月18日13:26 Tanaka Akira <akr@fsij.org>:
2010年10月18日14:04 NARUSE, Yui <naruse@airemix.jp>:
チケット #3946 が更新されました。 (by Usaku NAKAMURA)
2010年11月25日10:57 Usaku NAKAMURA <redmine@ruby-lang.org>:
こんにちは、なかむら(う)です。
2012年2月9日16:47 U.Nakamura <usa@garbagecollect.jp>:
[#42376] [Ruby 1.9-Feature#3947][Open] Array#packのにエンディアン指定修飾子</>を追加 — Yui NARUSE <redmine@...>
Feature #3947: Array#packのにエンディアン指定修飾子</>を追加
チケット #3947 が更新されました。 (by Yui NARUSE)
2010年10月14日21:36 Yui NARUSE <redmine@ruby-lang.org>:
2010年10月15日8:01 Tanaka Akira <akr@fsij.org>:
[#42403] [Ruby 1.9-Bug#3956][Open] format() の %a 指定子で幅指定が正しく機能しない — tadayoshi funaba <redmine@...>
Bug #3956: format() の %a 指定子で幅指定が正しく機能しない
2010年10月17日23:21 tadayoshi funaba <redmine@ruby-lang.org>:
> 2010年10月17日23:21 tadayoshi funaba <redmine@ruby-lang.org>:
> > 2010年10月17日23:21 tadayoshi funaba <redmine@ruby-lang.org>:
[#42420] [Ruby 1.9-Feature#3961][Open] printfと精度指定と負の値と — Yui NARUSE <redmine@...>
Feature #3961: printfと精度指定と負の値と
[#42464] [Ruby 1.9-Bug#3990][Assigned] tests of rexml/rss reports many errors and failures without iconv — Usaku NAKAMURA <redmine@...>
Bug #3990: tests of rexml/rss reports many errors and failures without iconv
チケット #3990 が更新されました。 (by Kouhei Sutou)
成瀬です。
須藤です。
(2010/11/02 21:50), Kouhei Sutou wrote:
須藤です。
成瀬です。
須藤です。
成瀬です。
須藤です。
(2010/11/06 12:10), Kouhei Sutou wrote:
須藤です。
成瀬です。
須藤です。
成瀬です。
須藤です。
成瀬です。
須藤です。
成瀬です。
須藤です。
成瀬です。
須藤です。
成瀬です。
須藤です。
成瀬です。
須藤です。
成瀬です。
須藤です。
> iconv.soがない環境でtest-allを実行すると、rexmlとrssのテストで
[#42469] Re: [ruby-cvs:36800] Ruby:r29603 (trunk): * object.c (Init_Object), constant.h, variable.c — Yukihiro Matsumoto <matz@...>
まつもと ゆきひろです
遠藤です。
[#42477] [Ruby 1.9-Feature#3995][Open] Hash#update with Enumerable — Nobuyoshi Nakada <redmine@...>
Feature #3995: Hash#update with Enumerable
[#42480] memory profiler for test-all — SASADA Koichi <ko1@...>
ささだです。
ささだです。
[ruby-dev:42437] Re: Call for Cooperation: CFUNC usage survey
Hi,
Thank you for your help. I can find out (confirm) several
characteristic of Ruby application.
(Unfortunately, no Rails related result are collected).
Fig.1 Results
For the each application, the result sorted by
shallow count (descending order)
deep count (ascending order)
http://www.atdot.net/fp/view/dvhlal
Fig.1 shows the result of this survey.
Insights:
(1) We can observe same tendency for all applications.
(2) Most of CFUNC invocation is "shallow" invocation.
(3) Small amount of methods account for the invocation count.
(4) Shallow/frequent method names (not available in pictures).
Next:
We can develop:
(1) Mechanism to invoke shallow/frequent methods
In fact, this is the reason why I make this survey. Currently, we have
specialized instructions in Ruby 1.9 virtual machine. However, to add
new specialized instructions, we need to modify VM code. We want to
extend this feature more general.
(2) Make some deep methods to shallow method
Reading the source code of some deep methods, unnecessary method
invocation can be observed. We can get rid of such inefficient methods
calls.
(3) Revise frequent called methods.
Thank you for your help, again.
Regards,
Koichi
-----
In Japanese
にほんご
ありがとうございました。いくつか最適化に関するヒントを得ることができました。
--
// SASADA Koichi at atdot dot net
(2010/10/15 7:52), SASADA Koichi wrote:
> Hi,
>
> I want to survey the Ruby interpreter usage.
>
> If you have
>
> - a real application on Ruby 1.9 trunk
> if that application has a performance issue, it is welcome.
> - the build environment
> - time
>
> please cooperate me to survey the CFUNC usage.
>
> Procedure:
> (1) Check out ruby trunk
> $ svn co http://svn.ruby-lang.org/repos/trunk
> (2) Apply a patch which is attached to this mail
> (3) Build ruby interpter and install it
> (4) Run application on the interpreter
> Ruby prints the results into STDERR at the end of ruby process.
>
> $ ruby [application] 2> result
>
> (5) Send me the result with
> - your environment (ruby -v)
> - brief description of your application.
>
> Download-able URL instead of attaching the result is preferable
> because the result will be a huge text file.
>
> (6) Do not forget to remove (or invalidate) installed Ruby
>
>
> Result:
> The results show the usage of CFUNC. CFUNC is methods implemented in C.
>
> <format>
> method_name [shallow count] [deep count]
> ...
> </format>
>
> [shallow count] means the number of invoking the method named
> [method_name] without invoking the other methods (and blocks, and so
> on). [deep count] is the number of invoking which invoke other methods.
>
>
> result sample (sorted by Excel):
> http://www.atdot.net/sp/view/fmjbal
> application: rdoc (build process)
> environment: ruby 1.9.3dev (2010-10-14) [i686-linux]
>
>
> Purpose:
>
> To tune the VM. I can find out which CFUNC method / what kind of
> methods should be faster.
>
>
> Thank you for.
>
> Regards,
> Koichi
>
> ----
> Japanese (にほんご):
>
> CFUNC がどんな感じで使われてるか知りたいので、パッチあてて実行して、結
> 果を送って下さると助かります。結果は、プロセス終了時に標準エラー出力に出
> ます(正確には、スレッドが回収されるときにスレッド後のに出力)。
>
> # 1.9 のリアルアプリケーションってどれくらいあるんだろ。
>
--
// SASADA Koichi at atdot dot net