This is used in production (e.g. https://jochen-hoenicke.de/queue/#0,24h), so add a benchmark to avoid making it even slower.
Backport of Bitcoin Core PR15473
https://github.com/bitcoin/bitcoin/pull/15473
Differential D4234
bench: Benchmark MempoolToJSON fpelliccioni on Oct 10 2019, 17:43. Authored by Tags None Subscribers None
Details
This is used in production (e.g. https://jochen-hoenicke.de/queue/#0,24h), so add a benchmark to avoid making it even slower. Backport of Bitcoin Core PR15473
CXX=clang++ CC=clang cmake .. -D CMAKE_CXX_FLAGS="-Werror=thread-safety-analysis" -GNinja -DCMAKE_BUILD_TYPE=Debug ninja check-all
cmake .. -GNinja ninja bench-bitcoin ./src/bench/bitcoin-bench
Diff Detail
Event TimelineComment Actions It looks like you have dependencies to backport first.
Comment Actions It's not clear you go the dependency in the right order.in any case, it seems that you have https://github.com/bitcoin/bitcoin/pull/11062 to go through first. Comment Actions I ordered the dependencies based on the date of the log: 12aa2ac98 - Merge #15323: rpc: Expose g_is_mempool_loaded via getmempoolinfo (2019-05-01 ~ 5 months ago) <MarcoFalke> 3515612e0 - Merge #15473: bench: Benchmark MempoolToJSON (2019-03-06 ~ 7 months ago) <MarcoFalke>
|