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