On 09/30/2010 11:52 AM, Michal Fojtik wrote:
Hi,
Damn, another thing I forgot. Sorry for spam, but this is kinda
interesting:
Loaded suite
/usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.......................................................
Finished in 2.031044 seconds.
Then try same under Ruby 1.9.2:
Loaded suite
/home/mfojtik/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
.......................................................
Finished in 1.540575 seconds.
These times are interesting. Also API warm up (time when
./bin/deltacloudd -i
mock is ready for serving requests) seems like *much* faster than 1.8.6
-- Michal
Sorry didn't try this patch out, but this is really good to know. Jeroen
Van Meeuwen, has done a bit of preliminary work regarding getting a Ruby
1.9 rpm to be parallel installable with the Ruby 1.8 one. I helped a lot
with this effort but had to put that on hold to maintain rails and get
back to deltacloud. I have been meaning to poke him again to see what
the current status is. We might have to do what I did w/ Ruby 1.8.7, eg
alot of the remaining work and have him just commit it (I did resolve a
few of the major blockers when working on it, there shouldn't be many
big ones left).
Also if you or anyone has a suggestion for the rails 3 upgrade path feel
free to suggest. At some point we need to figure out whether we want to
just update the rpms (with extensive testing of course) or support
parallel installable versions like with Ruby. It would be nice to
support both in the latter case, but honestly might not be worth the
effort, as afterall how much longer will new and existing projects
support rails 2.3.x
-Mo