(2) Wed Jan 18 2006 17:36:
People have been complaining that Rubyful Soup is too slow. Bah! What do they know? Except they're right; it is too slow. Today I fought back the sickness that has consumed my corporeal form, and stayed in the hotel room all day and profiled the bugger (bonus: I can write a profiling recipe for the cookbook at the same time). I sped it up by a factor of three, which I think is about as good as I can do without going down a level and optimizing the SGML parser. I don't have the wherewithall to rebuild the gem since the gemspec is on my other computer, but you'll get it soon enough.
Filed under: beautifulsoup
- Comments:
Posted by Daniel Rall at Wed Jan 18 2006 22:33
What did you use to profile it, leonardr?
Posted by Leonard at Thu Jan 19 2006 07:54
The Ruby profiler, in the "profile" module. Plus a trick I came up with that might go into the cookbook.
