diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-26 22:10:05 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-26 22:10:05 +0100 |
commit | 56b07f7b8922b19921ec69ebd8bcf0e7d6e82222 (patch) | |
tree | b96b2fea4d469bb013e392d5f0115037648fad06 /tests/performance_tests/main.cpp | |
parent | Merge pull request #1253 (diff) | |
download | monero-56b07f7b8922b19921ec69ebd8bcf0e7d6e82222.tar.xz |
tests: add performance test for keypair::generate
Diffstat (limited to '')
-rw-r--r-- | tests/performance_tests/main.cpp | 4 |
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); |