public void BenchIDEAEncryption() { IDEAStruct t = new IDEAEncryption(); t.loops = 100; t.adjust = 1; for (int i = 0; i < IDEAEncryptionIterations; i++) { t.Run(); } }
public static void BenchIDEAEncryption() { Setup(); IDEAStruct t = new IDEAEncryption(); t.loops = 100; t.adjust = 1; foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 0; i < IDEAEncryptionIterations; i++) { t.Run(); } } } }
public static void BenchIDEAEncryption() { Setup(); IDEAStruct t = new IDEAEncryption(); t.loops = 100; t.adjust = 0; foreach (var iteration in Benchmark.Iterations) { using (iteration.StartMeasurement()) { for (int i = 0; i < IDEAEncryptionIterations; i++) { t.Run(); } } } }