From 8220d0a9dbf6329d5e336443797b78b62dd52a30 Mon Sep 17 00:00:00 2001 From: Rumata888 Date: Tue, 2 May 2023 16:43:24 +0100 Subject: [PATCH] Deleted some commented-out code --- .../benchmarks/external/external.bench.cpp | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/cpp/src/barretenberg/stdlib/hash/benchmarks/external/external.bench.cpp b/cpp/src/barretenberg/stdlib/hash/benchmarks/external/external.bench.cpp index 583736b516..2b6d82c7a5 100644 --- a/cpp/src/barretenberg/stdlib/hash/benchmarks/external/external.bench.cpp +++ b/cpp/src/barretenberg/stdlib/hash/benchmarks/external/external.bench.cpp @@ -40,26 +40,7 @@ void generate_test_sha256_plonk_circuit(Composer& composer, size_t num_iteration input = proof_system::plonk::stdlib::sha256(input); } } -// /** -// * @brief If CPU scaling is disabled, we need to warm up to get an accurate reading on the first benchmark -// * -// * @param state -// */ -// void warm_up(State& state) -// { -// for (auto _ : state) { - -// size_t num_iterations = static_cast(state.range(0)); -// auto composer = Composer(); -// generate_test_sha256_plonk_circuit(composer, num_iterations); -// info("Gate number: ", composer.get_num_gates()); -// auto prover = composer.create_prover(); -// auto proof = prover.construct_proof(); -// info("Proof Size for SHA256 hash count ", num_iterations, ": ", proof.proof_data.size()); -// } -// } - -// BENCHMARK(warm_up)->DenseRange(1, 3); + Composer external_composers[NUM_PROOFS]; Prover external_provers[NUM_PROOFS]; Verifier external_verifiers[NUM_PROOFS];