astro / ruby-feed-parser-benchmark Goto Github PK
View Code? Open in Web Editor NEWEver wanted to know what was the most effiscient Ruby Library to parse feed, check this benchmark.
Ever wanted to know what was the most effiscient Ruby Library to parse feed, check this benchmark.
This a benchmark for different Ruby Libraries rfeedparser: http://rfeedparser.rubyforge.org/ Syndication: http://syndication.rubyforge.org/doc/ SimpleRSS: http://simple-rss.rubyforge.org/ MagicRSS: http://github.com/astro/harvester/tree/master/mrss.rb Feel free to run the benchmark on your computer to see/compare the results Here is what I get for 1000 feeds (among the /feeds directory with my MBP 11/2008) and libxml (rfeedparser can make use of libxml or expat): rfeedparser => Average: 0.491536916083916 (0 errors) RSS: 0.423777936991869 Atom: 0.557032825147347 syndication => Average: 0.0748718385155466 (4 errors) RSS: 0.058977287755102 Atom: 0.0902334358974358 simplerss => Average: 0.348966465534465 (0 errors) RSS: 0.158927489837398 Atom: 0.53265836345776 mrss => Average: 0.0573559627766599 (7 errors) RSS: 0.0519932346938776 Atom: 0.0625697261904762 With Expat : mrss => Average: 0.0446699295774648 (7 errors) RSS: 0.0407380755102041 Atom: 0.0484925654761905 rfeedparser => Average: 0.396704025974026 (0 errors) RSS: 0.342670530487805 Atom: 0.448932866404715 syndication => Average: 0.0560052517552658 (4 errors) RSS: 0.0450482204081632 Atom: 0.0665948875739645 simplerss => Average: 0.279452683316683 (0 errors) RSS: 0.13230812195122 Atom: 0.421682789783891
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.