This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Diagnostics.CodeAnalysis; | |
using System.Runtime.CompilerServices; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Running; | |
namespace BenchmarkRefsApp | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Engines; | |
using BenchmarkDotNet.Running; | |
using System.Text; | |
BenchmarkRunner.Run<Benchmarks>(); | |
[MemoryDiagnoser] | |
public class Benchmarks | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class InCompletionOrderQuestion2 | |
{ | |
static async Task Main(string[] args) | |
{ | |
await InArrivalOrderFixed.DoWorkAsync(); | |
} | |
public static class InArrivalOrderFixed | |
{ | |
public static async Task DoWorkAsync() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class InCompletionOrderQuestion2 | |
{ | |
static async Task Main(string[] args) | |
{ | |
await InArrivalOrderFixed.DoWorkAsync(); | |
} | |
public static class InArrivalOrderFixed | |
{ | |
public static async Task DoWorkAsync() |