Benchmark selection restored

This commit is contained in:
mlemanczyk committed 2025-10-12 20:15:38 +02:00
1 parent 9e5ee36e6e
commit 6c4fa7fcf6
1 file changed
+8 -6
+8 -6
View File
@@ -15,13 +15,15 @@ public static class Program
return;
}
Pow2MontgomeryModCycleComputationBenchmarks benchmarks = new()
{
Scale = Pow2MontgomeryModCycleComputationBenchmarks.InputScale.Large
};
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run();
GpuPrimeWorkLimiter.SetLimit(1);
benchmarks.Setup();
// Pow2MontgomeryModCycleComputationBenchmarks benchmarks = new()
// {
// Scale = Pow2MontgomeryModCycleComputationBenchmarks.InputScale.Large
// };
// GpuPrimeWorkLimiter.SetLimit(1);
// benchmarks.Setup();
// Console.WriteLine("Press ENTER to run");
// Console.ReadLine();