mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 06:43:28 +01:00
performance_tests: add RingCT MLSAG gen/ver tests
This commit is contained in:
parent
1aa10c4364
commit
8f4ce989c2
@ -53,6 +53,7 @@
|
|||||||
#include "rct_mlsag.h"
|
#include "rct_mlsag.h"
|
||||||
#include "equality.h"
|
#include "equality.h"
|
||||||
#include "range_proof.h"
|
#include "range_proof.h"
|
||||||
|
#include "rct_mlsag.h"
|
||||||
|
|
||||||
namespace po = boost::program_options;
|
namespace po = boost::program_options;
|
||||||
|
|
||||||
@ -160,6 +161,15 @@ int main(int argc, char** argv)
|
|||||||
TEST_PERFORMANCE1(filter, test_range_proof, true);
|
TEST_PERFORMANCE1(filter, test_range_proof, true);
|
||||||
TEST_PERFORMANCE1(filter, test_range_proof, false);
|
TEST_PERFORMANCE1(filter, test_range_proof, false);
|
||||||
|
|
||||||
|
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);
|
||||||
|
TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 100, false);
|
||||||
|
TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 3, true);
|
||||||
|
TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 5, true);
|
||||||
|
TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 10, true);
|
||||||
|
TEST_PERFORMANCE3(filter, test_ringct_mlsag, 1, 100, true);
|
||||||
|
|
||||||
std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl;
|
std::cout << "Tests finished. Elapsed time: " << timer.elapsed_ms() / 1000 << " sec" << std::endl;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user