performance_tests: add a test for subaddress expansion

This commit is contained in:
moneromooo-monero 2017-10-22 10:34:17 +01:00
parent 1cc7451130
commit dc64263155
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 70 additions and 0 deletions

View file

@ -44,6 +44,7 @@
#include "generate_key_image_helper.h"
#include "generate_keypair.h"
#include "is_out_to_acc.h"
#include "subaddress_expand.h"
#include "sc_reduce32.h"
#include "cn_fast_hash.h"
@ -112,6 +113,8 @@ int main(int argc, char** argv)
TEST_PERFORMANCE0(test_generate_keypair);
TEST_PERFORMANCE0(test_sc_reduce32);
TEST_PERFORMANCE2(test_wallet2_expand_subaddresses, 50, 200);
TEST_PERFORMANCE0(test_cn_slow_hash);
TEST_PERFORMANCE1(test_cn_fast_hash, 32);
TEST_PERFORMANCE1(test_cn_fast_hash, 16384);