[#4567] Re: What's the biggest Ruby development? — Aleksi Niemel<aleksi.niemela@...>

Dave said:

18 messages 2000/08/23
[#4568] Q's on Marshal — Robert Feldt <feldt@...> 2000/08/23

[#4580] RubyUnit testcase run for different init params? — Robert Feldt <feldt@...> 2000/08/25

[#4584] Re: RubyUnit testcase run for different init params? — Dave Thomas <Dave@...> 2000/08/25

Robert Feldt <feldt@ce.chalmers.se> writes:

[#4623] Re: RubyUnit testcase run for different init params? — Robert Feldt <feldt@...> 2000/08/28

On Sat, 26 Aug 2000, Dave Thomas wrote:

[#4652] Andy and Dave's European Tour 2000 — Dave Thomas <Dave@...>

24 messages 2000/08/30
[#4653] Re: Andy and Dave's European Tour 2000 — matz@... (Yukihiro Matsumoto) 2000/08/30

Hi,

[#4657] Ruby tutorials for newbie — Kevin Liang <kevin@...> 2000/08/30

Hi,

[ruby-talk:04421] Re: Array#hash ruby rewrite

From: ts <decoux@...>
Date: 2000-08-11 10:11:34 UTC
List: ruby-talk #4421
>>>>> "A" == Aleksi Niemel=E4?= <iso-8859-1> writes:

>> There is a *big* difference between 1.4.5 and 1.5.x for your example.

A> Great, good to know. I'll look it when I'll have some free time. Of course I
A> forgot to mention I'm using 1.4.5 :(.

 Just to give you an example (with -pg), with 24001.times do end

 1.4.5

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total           
 time   seconds   seconds    calls  ms/call  ms/call  name    
 51.79    217.22   217.22 502483359     0.00     0.00  rb_gc_mark
 23.73    316.74    99.52     1223    81.37    81.90  gc_sweep
 19.09    396.80    80.06 15649929     0.01     0.01  st_foreach
  2.84    408.72    11.92 249631513     0.00     0.00  mark_hashentry
  0.29    409.95     1.23   456070     0.00     0.21  rb_eval
  0.16    410.62     0.67 14686205     0.00     0.00  rb_mark_hash
 

 1.5.x

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total           
 time   seconds   seconds    calls  ms/call  ms/call  name    
 50.63    130.66   130.66 308766112     0.00     0.00  rb_gc_mark
 23.82    192.13    61.47      751    81.85    82.86  gc_sweep
 18.53    239.94    47.81  9633361     0.00     0.00  st_foreach
  2.90    247.43     7.49 153352522     0.00     0.00  mark_hashentry
  0.58    248.92     1.49   456070     0.00     0.03  rb_eval
  0.20    249.44     0.52   744031     0.00     0.05  ruby_re_match
  0.20    249.95     0.51  1152048     0.00     0.03  ruby_re_search
  


Guy Decoux

In This Thread

Prev Next