[MacRuby-devel] [MacRuby] #566: MacRuby uses a ton of memory on a Shootout benchmark
MacRuby
ruby-noreply at macosforge.org
Wed Jan 20 15:03:00 PST 2010
#566: MacRuby uses a ton of memory on a Shootout benchmark
-------------------------------------+--------------------------------------
Reporter: peter@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
@lrz asked me to file this. I'm far from an expert at submitting tickets
so sorry if this is vague, etc..
I'm trying to benchmark MacRuby on the Alioth Shootout programs (
http://shootout.alioth.debian.org/ ). The first is binary-trees.rb as I've
posted at http://gist.github.com/282386
Running binary-trees.rb with an argument of 20 (as is done in the Alioth
shootout proper) results in MacRuby chewing up 3GB of memory in just the
first minute, whereas 1.9.1 makes solid progress and doesn't go above
about 300MB. This may or may not be a leak (it may just be an inefficiency
in MR somewhere.. I didn't keep it running beyond the minute).
--
Ticket URL: <http://www.macruby.org/trac/ticket/566>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list