示例#1
0
        private static async Task FetchGraph_Measure(FetchGraphBenchmark b)
        {
            b.Linq();
            await b.LinqAsync();

            b.Compiled();
            await b.CompiledAsync();
        }
示例#2
0
        private static async Task FetchGraph_WarmUp(FetchGraphBenchmark b)
        {
            for (var i = 0; i < 100; i++)
            {
                b.Linq();
                await b.LinqAsync();

                b.Compiled();
                await b.CompiledAsync();
            }
        }