From f22069bb11f74072b90301d7faba465b94b4a199 Mon Sep 17 00:00:00 2001 From: Florian Geyer Date: Sun, 12 Jul 2015 21:48:55 +0200 Subject: [PATCH] Use higher increment for transform rounds in benchmark. Thanks to Sami Farin for providing a patch. Closes #305. --- src/keys/CompositeKey.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/keys/CompositeKey.cpp b/src/keys/CompositeKey.cpp index a0f2373c8..5bf9cae58 100644 --- a/src/keys/CompositeKey.cpp +++ b/src/keys/CompositeKey.cpp @@ -186,10 +186,10 @@ void TransformKeyBenchmarkThread::run() t.start(); do { - if (!cipher.processInPlace(key, 100)) { + if (!cipher.processInPlace(key, 10000)) { m_rounds = -1; return; } - m_rounds += 100; + m_rounds += 10000; } while (t.elapsed() < m_msec); }