Saturday, September 30, 2006

Performance Progress Since 0.9.0

I love comparing current trunk against 0.9.0. It always makes me happy.

Here are the numbers for a local gem install rake. The second set of numbers is trunk plus a ThreadContext-passing experimental patch I'm working on. Without my experimental patch, trunk benchmarks about four seconds slower.

0.9.0:
real 2m1.867s
user 2m2.158s
sys 0m2.768s

trunk + my patch:
real 1m22.221s
user 1m22.322s
sys 0m2.813s

That's an increase of 32%. Are we having fun yet?

The best part of this is that we haven't even started on a number of very promising performance changes, and we're still not compiling anything. Nibbling, nibbling away at overhead is paying serious dividends.

1 comment:

Anonymous said...

Nice. How long 'til you overtake CRuby?