From ea3dc3b67912e448da6e6ada606c955225a1eba0 Mon Sep 17 00:00:00 2001 From: Kittywhiskers Van Gogh <63189531+kittywhiskers@users.noreply.github.com> Date: Mon, 25 Oct 2021 14:49:12 +0530 Subject: [PATCH] merge bitcoin#13219: Add block assemble benchmark --- src/Makefile.bench.include | 1 + src/bench/block_assemble.cpp | 114 +++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 src/bench/block_assemble.cpp diff --git a/src/Makefile.bench.include b/src/Makefile.bench.include index 6bcc488871..e42bd29f7d 100644 --- a/src/Makefile.bench.include +++ b/src/Makefile.bench.include @@ -16,6 +16,7 @@ bench_bench_dash_SOURCES = \ bench/bench_dash.cpp \ bench/bench.cpp \ bench/bench.h \ + bench/block_assemble.cpp \ bench/bls.cpp \ bench/bls_dkg.cpp \ bench/checkblock.cpp \ diff --git a/src/bench/block_assemble.cpp b/src/bench/block_assemble.cpp new file mode 100644 index 0000000000..69b4f7b893 --- /dev/null +++ b/src/bench/block_assemble.cpp @@ -0,0 +1,114 @@ +// Copyright (c) 2011-2017 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include