Welcome to ongoing coverage of the pickup game (
started 08 Oct 2003) to test and benchmark solutions for parsing a set of
feeds. Please join the contestants if you like.
Here are our contenders:
Should get some stats on the machine which is executing these scripts.
Python + libxml2
| Platform | Time |
| libxml2 parseFile, Python 2.2 | 1.876s |
Ruby + REXML
| Platform | Time |
| REXML Document.new, Ruby 1.8 | 31.961s |
| REXML Marshal::load, Ruby 1.8 | 10.325s |
Ruby + YAML
| Platform | Time |
| YAML::load, Ruby 1.8 | ???s |
Do me a favor. Please run the latest Ruby snapshot. Many improvements to the YAML module since the release of 1.8.0.
C# + System.Xml
| Platform | Time |
| XmlDocument.Load() | 3.563s |
| XPathDocument.Load() | 2.938s |
| XmlTextReader() | 0.187s |
| XmlTextReader.Read() | 2.016s |
Executed on a P4 2.5Ghz with 1GB RAM, in .NET v1.1 on Windows XP SP1.
C# + Chilkat.Xml
| Platform | Time |
| Xml.LoadXmlFile() | 1.790s |
Executed on a P4 2.5Ghz with 1GB RAM, in .NET v1.1 on Windows XP SP1.
See the
Chilkat.Xml homepage.
Suggestions below. [WhyTheLuckyStiff]
