XML Document parsing benchmark user system total real hpricot:xml:doc 10.160000 0.950000 11.110000 ( 11.144462) hpricot2:xml:doc 0.950000 0.000000 0.950000 ( 0.953266) nokogiri:compat:doc 0.220000 0.020000 0.240000 ( 0.238401) nokogiri:xml:doc 0.170000 0.030000 0.200000 ( 0.200283) XML XPath benchmarks (//status/text, //user/name) user system total real hpricot:xml:xpath 7.580000 1.150000 8.730000 ( 8.728314) hpricot2:xml:xpath 3.980000 0.530000 4.510000 ( 4.536297) nokogiri:compat:xpath 0.100000 0.010000 0.110000 ( 0.103876) nokogiri:xml:xpath 0.060000 0.000000 0.060000 ( 0.069590) XML CSS selector benchmarks (status text, user name) user system total real hpricot:xml:css 7.650000 1.360000 9.010000 ( 9.035288) hpricot2:xml:css 3.480000 0.660000 4.140000 ( 4.143033) nokogiri:compat:css 0.100000 0.010000 0.110000 ( 0.106788) nokogiri:xml:css 0.070000 0.000000 0.070000 ( 0.076784) HTML Document parsing benchmark (slashdot.org) user system total real hpricot:html:doc 48.930000 3.640000 52.570000 ( 52.900035) hpricot2:html:doc 4.500000 0.020000 4.520000 ( 4.518984) nokogiri:html:doc 3.640000 0.130000 3.770000 ( 3.770642) HTML XPath benchmarks (//h1/a) user system total real hpricot:html:xpath 8.250000 1.130000 9.380000 ( 9.468790) nokogiri:html:xpath 0.060000 0.000000 0.060000 ( 0.063775) Easy HTML CSS benchmarks (h1 > a) user system total real hpricot:html:css 6.780000 1.100000 7.880000 ( 8.137288) nokogiri:html:css 0.070000 0.010000 0.080000 ( 0.135311) Hard HTML CSS benchmarks (div#logo > h1 > a) user system total real hpricot:html:css 10.440000 1.740000 12.180000 ( 12.326511) nokogiri:html:css 0.290000 0.000000 0.290000 ( 0.296762)