Exemplo n.º 1
0
 public void Setup()
 {
     BatchExtractor1 = new BatchExtractor1();
     BatchExtractor2 = new BatchExtractor2();
     BatchExtractor3 = new BatchExtractor3();
     BatchExtractor4 = new BatchExtractor4();
     BatchExtractor5 = new BatchExtractor5();
     BatchExtractor6 = new BatchExtractor6();
     Items           = RandomGenerator.RandomStrings(ItemsSize);
 }
Exemplo n.º 2
0
        public int BatchExtractor5Benchmark()
        {
            var batchs = BatchExtractor5.Batch(Items, BatchSize);

            return(batchs.Count());
        }