Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3234

Show
Ignore:
Timestamp:
02/20/08 18:37:40 (10 months ago)
Author:
stonecobra
Message:

make benchmark programs consistent, added soap doc for attr testing

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/example/text/xmldom.d

    r3218 r3234  
    2525 
    2626        elapsed.start; 
    27         for (int i=0; i < iterations; i++
     27        for (auto i=0; ++i < iterations;)
    2828             doc.parse (content); 
    2929 
     
    3737void main() 
    3838{ 
    39         for (int i=20; --i;) 
    40              bench (2000, "hamlet.xml"); 
     39        for (int i=10; --i;) 
     40             bench (5000, "soap_mid.xml"); 
    4141} 
    4242 
  • trunk/example/text/xmlpull.d

    r3207 r3234  
    2929{        
    3030        for (int i = 10; --i;) 
    31              benchmark (5000, "hamlet.xml");        
     31             benchmark (5000, "soap_mid.xml");        
    3232}