Closed yoyostile closed 9 years ago
Well, I guess this is a first step in the right direction.
Before: => #<Benchmark::Tms:0x007fe988e6c390 @label="", @real=2.984086545999162, @cstime=0.0, @cutime=0.0, @stime=0.24, @utime=2.0199999999999996, @total=2.26>
=> #<Benchmark::Tms:0x007fe988e6c390 @label="", @real=2.984086545999162, @cstime=0.0, @cutime=0.0, @stime=0.24, @utime=2.0199999999999996, @total=2.26>
After: => #<Benchmark::Tms:0x007f82049b6b20 @label="", @real=0.0729897640121635, @cstime=0.0, @cutime=0.0, @stime=0.0, @utime=0.05999999999999961, @total=0.05999999999999961>
=> #<Benchmark::Tms:0x007f82049b6b20 @label="", @real=0.0729897640121635, @cstime=0.0, @cutime=0.0, @stime=0.0, @utime=0.05999999999999961, @total=0.05999999999999961>
awesome! kill all the n+1
Schön :)
Well, I guess this is a first step in the right direction.
Before:
=> #<Benchmark::Tms:0x007fe988e6c390 @label="", @real=2.984086545999162, @cstime=0.0, @cutime=0.0, @stime=0.24, @utime=2.0199999999999996, @total=2.26>
After:
=> #<Benchmark::Tms:0x007f82049b6b20 @label="", @real=0.0729897640121635, @cstime=0.0, @cutime=0.0, @stime=0.0, @utime=0.05999999999999961, @total=0.05999999999999961>