bzr branch
http://darksoft.org/webbzr/xmlbench/trunk
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
using System; using System.IO; using System.Xml; using XMLBench; namespace XMLBench { public class MonoBench : XMLBench { override public void ParseXML(Stream xml, int iters, int iter) { XmlTextReader reader = new XmlTextReader(xml); XmlDocument doc = new XmlDocument(); doc.Load(reader); } } public class Mono { public static void Main(string[] args) { XMLBench bench = new MonoBench(); bench.Bench(args); } } } |