Roger Pack
2009-Aug-08 16:45 UTC
[Rubyinstaller-devel] 1.9 gem env is far slower than on 1.8?
Currently when I run "gem env" on a windows machine with 1.8.6 it takes [~80 gems installed] real 0m0.360s with 1.9.1 [~80 gems] real 0m1.610s with 1.9.2 [~40 gems] real 0m1.140s [all with 1.3.5 installed] Not so for Linux--1.9.2 seems slightly faster than 1.8.6 for its gem list. Anybody have any inkling as to what''s going on here? Thanks! -r
> Anybody have any inkling as to what''s going on here? > Thanks! > -rFWIW, I''ve noticed my 1.9.1 gem commands are noticeably slower than my 1.8.6 commands. Same thing when I''m run rspec. For example, when running a spec for a patch to the treetop cmd line compiler I submitted, I was seeing ~20 secs on 1.9.1 vs ~12 secs on 1.8.6 on my Win test box. While there were plenty of Kernel.system and Kernel.open calls, I was surprised at the delta. Haven''t tried it yet on my XUbuntu 9.04 system. Jon
Luis Lavena
2009-Aug-08 23:58 UTC
[Rubyinstaller-devel] 1.9 gem env is far slower than on 1.8?
On Sat, Aug 8, 2009 at 1:45 PM, Roger Pack<rogerdpack at gmail.com> wrote:> Currently when I run "gem env" on a windows machine > > with 1.8.6 it takes [~80 gems installed] > > real ? ?0m0.360s > > with 1.9.1 [~80 gems] > > real ? ?0m1.610s > > with 1.9.2 [~40 gems] > > real ? ?0m1.140s > > [all with 1.3.5 installed] > > Not so for Linux--1.9.2 seems slightly faster than 1.8.6 for its gem list. > > Anybody have any inkling as to what''s going on here?All the IO operations has been noticeably slower with 1.9 on Windows, perhaps related to Unicode layer and additional processing needs to perform over all the gemspec files. -- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exup?ry