POSTS FOR 2004

The Ultrafast SimplePie 0.9 Is Now Available!

Projects and Code239 words2 minutes to read

Responses to the release of SimplePie 0.8 have been very positive. SimplePie has accomplished it’s goal of making it easier to create online feed readers, or anything else that requires RSS parsing.

The only complaints that I got were mostly speed-related. Most people who sent me feedback thought that SimplePie was just too darn slow. Unfortunately, the speed issues were directly related to my use of Magpie RSS as the parsing engine.

So, I decided to re-write it completely from scratch. I did away with Magpie altogether, and built a brand-new feed parser based around Hans Anderson’s XMLize library for parsing XML documents with PHP. The results were astounding!

I removed all external dependencies. SimplePie is now completely self-contained. Also, I tweaked with the way that SimplePie parses RSS feeds. In doing so, I’ve got v0.9 running anywhere from 20 to 162 times faster than v0.8. Specifically, it’s a maximum speed increase of over 16215%. On average, however, it only runs around 100 times faster than the previous version. As a matter of fact, I’ve never seen v0.9 take longer than 0.35 seconds to process and render a RSS feed.

If you’re looking for some RSS parsing software for PHP, I hope that SimplePie will be your choice. Of course, I’m always open to feature requests and bug reports, so let me know if you have something to say…

You can download SimplePie 0.9 from the SimplePie Project Page.

Ryan Parman

Ryan Parman is an experienced Software/DevOps/Security engineer, currently living in Seattle. He is the creator of and , patented multifactor-authentication-as-a-service at , and came up with the idea of “serverless, event-driven, responsive functions in the cloud” while at AWS in 2010. Ryan's aptly-named blog, , is where he writes about ideas longer than . Ambivert. Curious. Not a coffee drinker.