Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A collection of examples and benchmarks of Ruby feed parsers.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
feeds
README.textile
benchmark.rb

README.textile

ruby-feed-parsers

ruby-feed-parsers is a collection of ruby feed parser benchmarks and examples.

Benchmarks

On my iMac 2.8Ghz I get the following results:


                                 user     system      total        real
  feednormalizer/ruby        2.630000   0.050000   2.680000 (  2.965214)
  feednormalizer/simplerss   3.290000   0.040000   3.330000 (  4.139427)
  hpricot                    0.610000   0.020000   0.630000 (  0.696339)
  simplerss                  3.110000   0.030000   3.140000 (  3.339190)
  feedzirra                  1.250000   0.030000   1.280000 (  1.385423)

The benchmark is too simple to make any definite conclusion, but in my experience:

  • hpricot is the fastest, but the least lenient parser.
  • feedzirra is the second fastest.
  • simplerss is slow and not very lenient, since it’s a simple regex parser.
  • feednormalizer is slow.
  • rfeedparser is probably the slowest one, but most lenient feed parser as it’s based on the Python version.

Author

Christian Hellsten (Aktagon Ltd.)

Something went wrong with that request. Please try again.