Hpricot/LibXML Benchmark

I’m off to release an internal XML conversion script. I began using Hpricot, but after hearing good things about LibXML, decided to switch to that. Here’s a benchmark:

real	0m11.692s
user	0m11.497s
sys	0m0.188s

… for Hpricot versus…

real	0m6.441s
user	0m6.258s
sys	0m0.177s

… for LibXML

So that’s almost twice as fast. Nice to know.