diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-01-25 16:45:16 -0800 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-01-25 16:45:16 -0800 |
commit | f5c6f8f22f3314073eccec628add6eef1e26220c (patch) | |
tree | bf78d77c588355c860cbe3b1f3d4745d33bce5a0 /tests/performance_tests/main.cpp | |
parent | Merge pull request #3040 (diff) | |
parent | performance_tests: add RingCT MLSAG gen/ver tests (diff) | |
download | monero-f5c6f8f22f3314073eccec628add6eef1e26220c.tar.xz |
Merge pull request #3042
ed215d34 performance_tests: add RingCT MLSAG gen/ver tests (moneromooo-monero)
Diffstat (limited to 'tests/performance_tests/main.cpp')
-rw-r--r-- | tests/performance_tests/main.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/performance_tests/main.cpp b/tests/performance_tests/main.cpp index 2f3ce289d..4e20660e3 100644 --- a/tests/performance_tests/main.cpp +++ b/tests/performance_tests/main.cpp @@ -47,6 +47,7 @@ #include "subaddress_expand.h" #include "sc_reduce32.h" #include "cn_fast_hash.h" +#include "rct_mlsag.h" int main(int argc, char** argv) { @@ -119,6 +120,15 @@ int main(int argc, char** argv) TEST_PERFORMANCE1(test_cn_fast_hash, 32); TEST_PERFORMANCE1(test_cn_fast_hash, 16384); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 3, false); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 5, false); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 10, false); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 100, false); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 3, true); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 5, true); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 10, true); + TEST_PERFORMANCE3(test_ringct_mlsag, 1, 100, true); + std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl; return 0; |