public static async Task FormatCurlyBracesTestAsync(Document document) { await Benchmark.IterateAsync(() => document.FormatAsync()); }
public static void FormatCurlyBracesTest(Document document) { Benchmark.Iterate(document.Format); }