[MacRuby] #1204: Proposal: splitting macrubyc UI from logic
#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/f205757a9bce43e310b9bca3ce2a287d... rake compile task: https://github.com/ferrous26/MacRuby/commit/40c171834dd1e4a3b12d2282ab507301... 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/>
#1204: Proposal: splitting macrubyc UI from logic ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Comment(by mrada@…): I think the fast compile benchmarks are faster that they would be because they were run from a custom built MacRuby instead of modifying the official 0.10 release. I built LLVM self-hosted, so compilation would probably be faster. -- Ticket URL: <http://www.macruby.org/trac/ticket/1204#comment:1> MacRuby <http://macruby.org/>
#1204: Proposal: splitting macrubyc UI from logic ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Comment(by mrada@…): I benchmarked again, this time doing both from my build of MacRuby, and the difference in was almost the same as before, except that slow compiles are a little bit slower now that there is more overhead for macrubyc: activesupport: 2.4x faster fast compile: 74 second slow compile: 176 seconds minitest: 1.7x faster fast compile: 4.2 seconds slow compile: 7.1 seconds nokogiri: 2x faster fast compile: 28 seconds slow compile: 55 seconds ControlTower: 2.1x faster fast compile: 26 seconds slow compile: 55 seconds -- Ticket URL: <http://www.macruby.org/trac/ticket/1204#comment:2> MacRuby <http://macruby.org/>
#1204: Proposal: splitting macrubyc UI from logic ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ------------------------------------+--------------------------------------- Comment(by mrada@…): This issue became a pull request on github and is now a closed issue. -- Ticket URL: <http://www.macruby.org/trac/ticket/1204#comment:3> MacRuby <http://macruby.org/>
#1204: Proposal: splitting macrubyc UI from logic ------------------------------------+--------------------------------------- Reporter: mrada@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.11 Component: MacRuby | Resolution: fixed Keywords: | ------------------------------------+--------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.11 Comment: Indeed, closing! -- Ticket URL: <http://www.macruby.org/trac/ticket/1204#comment:4> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby