Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A collection of XML/HTML parser benchmarks for Ruby
Branch: master
Pull request Compare This branch is 3 commits ahead, 4 commits behind tenderlove:master.


XML Truth

This project is a repository of benchmarks comparing features and speed of the current XML/HTML parsing players in the Ruby world.


This test is for measuring the difference between parse times in different XML parsers. The test was conducted with two XML files, one small xml file at 18k, and one large XML file at 7.0M. N is adjusted in the small document parse runs to make sure that the amount of xml run through each system was approximately the same.

These tests were conducted with:

* stock ruby 1.8.6 on OS X 10.5
* libxml2 version 2.7.3
* Hpricot version 0.6.170 (hpricot does not have a VERSION constant)
* N being the number of iterations in each test
Something went wrong with that request. Please try again.