Ejemplo n.º 1
0
 private static void FetchSetBenchmark_WarmUp(FetchSetBenchmark b)
 {
     for (var i = 0; i < 100; i++)
     {
         b.Linq();
         b.Compiled();
         b.RawAdoNet();
     }
 }
Ejemplo n.º 2
0
        static void Main_FetchSetBenchmark_Memory(string[] args)
        //static void Main()
        {
            var b = new FetchSetBenchmark();

            b.Setup();
            FetchSetBenchmark_WarmUp(b);
            FetchSetBenchmark_Measure(b);
        }
Ejemplo n.º 3
0
 private static void FetchSetBenchmark_Measure(FetchSetBenchmark b)
 {
     b.Linq();
     b.Compiled();
     b.RawAdoNet();
 }