[MacRuby-devel] [MacRuby] #348: macruby is slower than ruby 1.9 for priority queue work
MacRuby
ruby-noreply at macosforge.org
Fri Sep 25 12:10:29 PDT 2009
#348: macruby is slower than ruby 1.9 for priority queue work
-------------------------------------+--------------------------------------
Reporter: jordan.breeding@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
Comment(by jordan.breeding@…):
Since there was a big change in MacRuby last night I thought I would
upload fresh timings, and this time I also made sure that nothing else was
going on on the machine at all during the timings.
small run:
{{{
(; ruby1.9 ./small_queue_test.pqueue > /dev/null; ) 11.76s user 0.05s
system 99% cpu 11.830 total
(; ruby1.9 ./small_queue_test.ruby_priority_queue > /dev/null; ) 20.45s
user 0.10s system 99% cpu 20.567 total
(; macruby ./small_queue_test.pqueue > /dev/null; ) 16.14s user 1.37s
system 107% cpu 16.240 total
(; macruby ./small_queue_test.ruby_priority_queue > /dev/null; ) 39.24s
user 2.13s system 107% cpu 38.481 total
}}}
large run:
{{{
(; ruby1.9 ./small_queue_test.pqueue > /dev/null; ) 121.44s user 0.47s
system 99% cpu 2:02.09 total
(; ruby1.9 ./small_queue_test.ruby_priority_queue > /dev/null; ) 245.53s
user 1.14s system 99% cpu 4:07.63 total
(; macruby ./small_queue_test.pqueue > /dev/null; ) 201.46s user 16.89s
system 106% cpu 3:25.21 total
(; macruby ./small_queue_test.ruby_priority_queue > /dev/null; ) 482.99s
user 25.50s system 106% cpu 7:55.70 total
}}}
This is on a Core 2 Duo 2.0 with 4 GB of RAM installed (but it only uses
3).
--
Ticket URL: <http://www.macruby.org/trac/ticket/348#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list