Exemplo n.º 1
0
        public void results_should_be_very_similar()
        {
            var b = new BenchmarksContainer();
               // b.Iterations = 2;
            b.Add(p => {  }, "nothing");
            b.Add(p => { }, "nothing 2");
            //b.Add(p =>
            //{

            //}, "caveman create");
            //b.Add((p) =>
            //{

            //}, "create");
               b.ExecuteWarmup();
            b.Execute();
            b.GetResults.ForEach(Console.WriteLine);

            //b.Execute();
            //b.GetResults.ForEach(Console.WriteLine);
        }