carrot_core [3/27/2025]

This commit is contained in:
jeffro256
2024-11-08 14:33:54 -06:00
committed by akildemir
parent 9292f88a57
commit ed030081b7
45 changed files with 7505 additions and 2 deletions

View File

@@ -65,6 +65,9 @@
#include "multiexp.h"
#include "sig_mlsag.h"
#include "sig_clsag.h"
#include "torsion_ops.h"
#include "view_scan.h"
#include "zero_commit.h"
namespace po = boost::program_options;
@@ -194,6 +197,18 @@ int main(int argc, char** argv)
TEST_PERFORMANCE4(filter, p, test_check_hash, 0xffffffffffffffff, 0xffffffffffffffff, 0, 1);
TEST_PERFORMANCE4(filter, p, test_check_hash, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff, 0xffffffffffffffff);
// test view scan performance with view tags
ParamsShuttleViewScan p_view_scan;
p_view_scan.core_params = p.core_params;
TEST_PERFORMANCE0(filter, p_view_scan, test_view_scan_cn);
TEST_PERFORMANCE0(filter, p_view_scan, test_view_scan_cn_optimized);
TEST_PERFORMANCE0(filter, p_view_scan, test_view_scan_carrot);
p_view_scan.test_view_tag_check = true;
TEST_PERFORMANCE0(filter, p_view_scan, test_view_scan_cn);
TEST_PERFORMANCE0(filter, p_view_scan, test_view_scan_cn_optimized);
TEST_PERFORMANCE0(filter, p_view_scan, test_view_scan_carrot);
TEST_PERFORMANCE0(filter, p, test_is_out_to_acc);
TEST_PERFORMANCE0(filter, p, test_is_out_to_acc_precomp);
TEST_PERFORMANCE2(filter, p, test_out_can_be_to_acc, false, true); // no view tag, owned