Code for profiling added
This commit is contained in:
1 parent
27a001001c
commit
874ea10a0e
1 file changed
+16
-1
@@ -7,8 +7,23 @@ public static class Program
|
|||||||
{
|
{
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
{
|
{
|
||||||
var config = DefaultConfig.Instance.WithOptions(ConfigOptions.JoinSummary);
|
var config = DefaultConfig.Instance.WithOptions(ConfigOptions.JoinSummary);
|
||||||
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, config);
|
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