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