[MacRuby] #1204: Proposal: splitting macrubyc UI from logic
MacRuby
ruby-noreply at macosforge.org
Wed Mar 23 20:41:10 PDT 2011
#1204: Proposal: splitting macrubyc UI from logic
------------------------------------+---------------------------------------
Reporter: mrada@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
------------------------------------+---------------------------------------
By splitting the macrubyc UI from the logic, a clean compilation of a
project can compile much faster, 2.25x faster in the case of active
support.
Patches are:
splitting macrubyc UI from logic:
https://github.com/ferrous26/MacRuby/commit/f205757a9bce43e310b9bca3ce2a287d3c202054
rake compile task:
https://github.com/ferrous26/MacRuby/commit/40c171834dd1e4a3b12d2282ab507301dd8872df
Drop in rake tasks: https://gist.github.com/884427
I ran benchmarks on some projects that I use (average of running twice):
activesupport: 2.25x faster
fast compile: 72 second
slow compile: 162 seconds
minitest: 1.7x faster
fast compile: 4.1 seconds
slow compile: 6.9 seconds
nokogiri: 1.9x faster
fast compile: 28 seconds
slow compile: 53 seconds
ControlTower: 2x faster
fast compile: 25 seconds
slow compile: 52 seconds
--
Ticket URL: <http://www.macruby.org/trac/ticket/1204>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list