예제 #1
0
 static void Check(int count, ReaderBatch readerBatch)
 {
     for(var i = 0; i < count; i++)
         Check(readerBatch);
 }
예제 #2
0
 static void Check(ReaderBatch readerBatch)
 {
     Profiler.Measure(readerBatch.Reset);
     if(readerBatch.Length > 100)
     {
         var result = Profiler.Measure(() => readerBatch.Data.ToArray());
     }
     else
     {
         var result2 = Profiler.Measure(() => readerBatch.Data.ToArray());
     }
 }