private static TimeSpan GetBatchChannelRunTime(Pipelines pipelines, int iterationCount) { Console.WriteLine("running in batches with channels"); var tick = DateTime.Now; for (int i = 0; i < iterationCount; i++) { pipelines.BatchChannelAnnotation(); //Console.WriteLine($"completed run {i + 1}"); } var tock = DateTime.Now; var batchTimeSpan = new TimeSpan(tock.Ticks - tick.Ticks); return(batchTimeSpan); }