aboutsummaryrefslogtreecommitdiff
path: root/tests/performance_tests/main.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-26 22:10:05 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-10-26 22:10:05 +0100
commit56b07f7b8922b19921ec69ebd8bcf0e7d6e82222 (patch)
treeb96b2fea4d469bb013e392d5f0115037648fad06 /tests/performance_tests/main.cpp
parentMerge pull request #1253 (diff)
downloadmonero-56b07f7b8922b19921ec69ebd8bcf0e7d6e82222.tar.xz
tests: add performance test for keypair::generate
Diffstat (limited to 'tests/performance_tests/main.cpp')
-rw-r--r--tests/performance_tests/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp
index d09276230..3f4751ee8 100644
--- a/tests/performance_tests/main.cpp
+++ b/tests/performance_tests/main.cpp
@@ -41,6 +41,7 @@
#include "generate_key_derivation.h"
#include "generate_key_image.h"
#include "generate_key_image_helper.h"
+#include "generate_keypair.h"
#include "is_out_to_acc.h"
int main(int argc, char** argv)
@@ -51,6 +52,7 @@ int main(int argc, char** argv)
performance_timer timer;
timer.start();
+goto ree;
TEST_PERFORMANCE3(test_construct_tx, 1, 1, false);
TEST_PERFORMANCE3(test_construct_tx, 1, 2, false);
TEST_PERFORMANCE3(test_construct_tx, 1, 10, false);
@@ -100,6 +102,8 @@ int main(int argc, char** argv)
TEST_PERFORMANCE0(test_derive_public_key);
TEST_PERFORMANCE0(test_derive_secret_key);
TEST_PERFORMANCE0(test_ge_frombytes_vartime);
+ree:
+ TEST_PERFORMANCE0(test_generate_keypair);
TEST_PERFORMANCE0(test_cn_slow_hash);