Changeset 4711

Show
Ignore:
Timestamp:
06/15/08 03:44:07 (6 months ago)
Author:
xmlhacker
Message:

added a warmup

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/nuxleus/Source/CodeSamples/SaxonExtensionFunction_Test/Program.cs

    r4710 r4711  
    1111        static void Main(string[] args) { 
    1212            Stopwatch stopwatch = new Stopwatch(); 
    13             int count = 100; 
     13            int count = 1000; 
     14 
     15            //Warming things up... 
     16            TestDirect(10, stopwatch); 
     17            TestGenerics(10, stopwatch); 
     18 
     19            //This time for real 
    1420            TestDirect(count, stopwatch); 
    1521            TestGenerics(count, stopwatch); 
     22 
     23 
    1624            Console.WriteLine("Completed direct test in:\t {0}ms", directEllapsedTime); 
    1725            Console.WriteLine("Completed generics test in:\t {0}ms", genericsEllapsedTime);