diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-01-05 12:36:32 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-11 13:37:18 +0000 |
| commit | 1aa10c4364be4ba48df06f5ff582eef10b9288c3 (patch) | |
| tree | 4de8f20321e2e826215487bd7bbed592c06059eb /tests/performance_tests/main.cpp | |
| parent | aacfd6e3702810c43365658da61bb1afc7470fd5 (diff) | |
| download | monzero-core-1aa10c4364be4ba48df06f5ff582eef10b9288c3.tar.gz monzero-core-1aa10c4364be4ba48df06f5ff582eef10b9288c3.tar.xz monzero-core-1aa10c4364be4ba48df06f5ff582eef10b9288c3.zip | |
performance_tests: add (Borromean) range proofs
Diffstat (limited to 'tests/performance_tests/main.cpp')
| -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 5fe8263b2..27fa56afb 100644 --- a/tests/performance_tests/main.cpp +++ b/tests/performance_tests/main.cpp @@ -52,6 +52,7 @@ #include "cn_fast_hash.h" #include "rct_mlsag.h" #include "equality.h" +#include "range_proof.h" namespace po = boost::program_options; @@ -156,6 +157,9 @@ int main(int argc, char** argv) TEST_PERFORMANCE2(filter, test_equality, verify32, false); TEST_PERFORMANCE2(filter, test_equality, verify32, false); + TEST_PERFORMANCE1(filter, test_range_proof, true); + TEST_PERFORMANCE1(filter, test_range_proof, false); + std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl; return 0; |
