using BenchmarkDotNet.Configs; using BenchmarkDotNet.Running; namespace EvenPerfectBitScanner.Benchmarks; public static class Program { public static void Main(string[] args) { var config = DefaultConfig.Instance.WithOptions(ConfigOptions.JoinSummary); BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, config); // Pow2MontgomeryModCycleComputationBenchmarks benchmarks = new() // { // Scale = Pow2MontgomeryModCycleComputationBenchmarks.InputScale.Large // }; // benchmarks.Setup(); // Console.WriteLine("Press ENTER to run"); // Console.ReadLine(); // foreach (int i in Enumerable.Range(0, 100_000)) // { // benchmarks.MontgomeryWithPrecomputedCycle(); // } } }