performance_tests: add bulletproofs

This commit is contained in:
moneromooo-monero 2018-01-05 13:10:14 +00:00
parent 8f4ce989c2
commit f5d7b9933a
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 73 additions and 0 deletions

View file

@ -54,6 +54,7 @@
#include "equality.h"
#include "range_proof.h"
#include "rct_mlsag.h"
#include "bulletproof.h"
namespace po = boost::program_options;
@ -161,6 +162,15 @@ int main(int argc, char** argv)
TEST_PERFORMANCE1(filter, test_range_proof, true);
TEST_PERFORMANCE1(filter, test_range_proof, false);
TEST_PERFORMANCE2(filter, test_bulletproof, true, 1);
TEST_PERFORMANCE2(filter, test_bulletproof, false, 1);
TEST_PERFORMANCE2(filter, test_bulletproof, true, 2);
TEST_PERFORMANCE2(filter, test_bulletproof, false, 2);
TEST_PERFORMANCE2(filter, test_bulletproof, true, 15);
TEST_PERFORMANCE2(filter, test_bulletproof, false, 15);
TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 3, false);
TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 5, false);
TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 10, false);