From: Joel VanderWerf Date: 2009-07-19T05:15:07+09:00 Subject: Re: ruby in 50 milliseconds or less Roger Pack wrote: > http://github.com/rogerdpack/faster_rubygems/tree/master On linux, faster_rubygems seems to have even more of an impact than on the windows installation you benchmarked. With about 250 gems installed: $ time ruby examples/require_rubygems_normal.rb done ruby examples/require_rubygems_normal.rb 0.57s user 0.05s system 85% cpu 0.726 total $ time ruby examples/require_fast_start.rb done ruby examples/require_fast_start.rb 0.04s user 0.02s system 46% cpu 0.121 total Very nice! I had been thinking of something along similar, locating all gem lib dirs. But instead of pushing them all on $:, the idea was to set up a single dir with symlinks to all the gem lib dirs. I expect it would be faster because it would offload more of the path search to the filesystem, rather than to ruby. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407