#1265: Gem loading slow ------------------------------+--------------------------------------------- Reporter: sferik@… | Owner: lsansonetti@… Type: defect | Status: new Priority: critical | Milestone: MacRuby 1.0 Component: MacRuby | Keywords: optimization, speed, performance, gem, loading, require ------------------------------+--------------------------------------------- Comment(by lsansonetti@…): This should be a bit faster now after https://github.com/MacRuby/MacRuby/commit/be15a06599652f0888e7081a6e4d0b6012... (7 seconds on my machine vs 1.5min). But still not acceptable. Obviously this is compilation time, so compiling the gem into .rbo files should fix the problem. We cannot pre-compile gems as .rbo yet because the debugging metadata is lost, and exceptions would not contain proper backtraces. Maybe we should work on that for the upcoming release. -- Ticket URL: <http://www.macruby.org/trac/ticket/1265#comment:8> MacRuby <http://macruby.org/>