Пример #1
0
        /// <summary>
        /// Analyzes the data and returns a reporting action
        /// </summary>
        /// <param name="options">The benchmark options</param>
        /// <returns>An action that will write the data to the reports. This is then no longer measured</returns>
        public override Action AnalyzeAndReport(BenchmarkOptions options)
        {
            var count = currentPattern.Count();

            return(() => Benchmark.Report(Name, "Count", count, options));
        }