I'd just gotten done implementing DEFLATE in pure ruby, and figuring
there'd be a performance hit I was interested to see what it would be.
 On IronRuby (compiled in Release) it takes a full 16 seconds to
decompress a ~1KB file... in CRuby it's less then a second.  An ~800KB
file takes 42 seconds in CRuby, while IronRuby takes a whopping...
well I don't know, I killed it after it was running for about a half
hour and using upwards of 100MB of memory!

Now this is just a straight port of "puff.c" from the zlib library, so
it's certainly not optimized for speed in any way, but the difference
in runtimes really struck me.

I suppose at the very least we have a good stress test for rbx ;)
Just thought I'd share.

-- 
Michael Letterle
[Polymath Prokrammer]
http://blog.prokrams.com
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to