This post originated from an RSS feed registered with Ruby Buzz
by Daniel Berger.
Original Post: Mmm, speedy
Feed Title: Testing 1,2,3...
Feed URL: http://djberg96.livejournal.com/data/rss
Feed Description: A blog on Ruby and other stuff.
One of the issues with the pure Ruby version of win32-eventlog was that it was kinda slow. We already made one tweak to speed it up by a factor of 4, but it still wasn't great.
On my laptop, an HP Pavilion zv6000, it took approximately 13 seconds to read 2700 event log entries. The latest release (0.4.6) dropped that to 1-2 seconds. Ah, the power of String#unpack. :)
I think I may have to do an O'Reilly blog entry about this.