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

            b.Compiled();
            await b.CompiledAsync();
        }
Beispiel #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();
            }
        }