/xmlbench/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/xmlbench/trunk

« back to all changes in this revision

Viewing changes to parse/mono.cs

  • Committer: Suren A. Chilingaryan
  • Date: 2009-09-28 21:25:28 UTC
  • Revision ID: csa@dside.dyndns.org-20090928212528-e6oby5he4yrueskz
Parsing tests for mono, vtd-xml, lisp, scripting languages

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
        while (!reader.EOF) {
 
12
            reader.Read();
 
13
        }
 
14
    }
 
15
 }
 
16
 
 
17
 public class Mono {
 
18
    public static void Main(string[] args) {
 
19
        XMLBench bench = new MonoBench();
 
20
        bench.Bench(args);
 
21
    }
 
22
 }
 
23
}
 
 
b'\\ No newline at end of file'