/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 xsl/bench.cs

  • Committer: Suren A. Chilingaryan
  • Date: 2009-09-29 02:14:05 UTC
  • Revision ID: csa@dside.dyndns.org-20090929021405-378i2zuuiudt77m1
DOM Creation benchmark for mono and tango

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
        xml.Close();
49
49
        
50
50
        for (int i = 0; i < iterations; i++) {
51
 
            if (mode) xml = new FileStream("../xml.tmp/0.xml", FileMode.Open);
 
51
            if (mode) xml = new FileStream("../xml.tmp/" + (i+1) + ".xml", FileMode.Open);
52
52
            else xml = new FileStream(args[1], FileMode.Open);
53
53
            
54
54
            pre = DateTime.Now;
76
76
        xml.Close();
77
77
        
78
78
        for (int i = 0; i < iterations; i++) {
79
 
            if (mode) xml = new FileStream("../xml.tmp/0.xml", FileMode.Open);
 
79
            if (mode) xml = new FileStream("../xml.tmp/" + (i+1) + ".xml", FileMode.Open);
80
80
            else xml = new FileStream(args[1], FileMode.Open);
81
81
            
82
82
            pre = DateTime.Now;