Code for profiling added

This commit is contained in:
Marek Lemańczyk committed 2025-10-03 19:32:02 +02:00
1 parent 27a001001c
commit 874ea10a0e
1 file changed
+15
@@ -9,6 +9,21 @@ public static class Program
{
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();
// }
}
}