Code for profiling added
This commit is contained in:
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();
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user