Skip to content

Commit

Permalink
248 recover performance test build, disable most tests by default. (#249
Browse files Browse the repository at this point in the history
)

* Fixing the perf test.

* Disabling most performance tests.
  • Loading branch information
martun authored Dec 7, 2023
1 parent 8ae2211 commit c5de1dd
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions test/systems/plonk/placeholder/performance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,24 +113,18 @@ class placeholder_performance_test_base {
}

template<typename fri_type, typename FieldType>
static typename fri_type::params_type create_fri_params(std::size_t degree_log, const int max_step = 1) {
typename fri_type::params_type params;
math::polynomial<typename FieldType::value_type> q = {0, 0, 1};

constexpr std::size_t expand_factor = 7;

std::size_t r = degree_log - 1;

std::vector<std::shared_ptr<math::evaluation_domain<FieldType>>> domain_set =
math::calculate_domain_set<FieldType>(degree_log + expand_factor, r);

params.r = r;
params.D = domain_set;
params.max_degree = (1 << degree_log) - 1;
params.step_list = generate_random_step_list(r, max_step);
typename fri_type::params_type create_fri_params(
std::size_t degree_log, const int max_step = 1, std::size_t expand_factor = 7) {
std::size_t r = degree_log - 1;

return typename fri_type::params_type(
(1 << degree_log) - 1, // max_degree
math::calculate_domain_set<FieldType>(degree_log + expand_factor, r),
generate_random_step_list(r, max_step),
expand_factor
);
}

return params;
}
};

template<std::size_t lambda>
Expand Down Expand Up @@ -327,7 +321,7 @@ class placeholder_performance_test : public placeholder_performance_test_base {
columns_rotations_type columns_rotations;
};

BOOST_AUTO_TEST_SUITE(placeholder_transpiler_suite)
BOOST_AUTO_TEST_SUITE(placeholder_transpiler_suite, *boost::unit_test::disabled())

BOOST_FIXTURE_TEST_CASE(placeholder_merkle_tree_poseidon_test, placeholder_performance_test<2>) {

Expand Down

0 comments on commit c5de1dd

Please sign in to comment.