This is used in production (e.g. https://jochen-hoenicke.de/queue/#0,24h), so add a benchmark to avoid making it even slower.
Related:
- "getrawmempool true RPC call is O(n^2)" #14765
This is used in production (e.g. https://jochen-hoenicke.de/queue/#0,24h), so add a benchmark to avoid making it even slower.
Related:
Nice, concept ACK.
Changes to entryToJSON should be in 1st commit?
Thx. Force pushed with changes correctly split up into the commits
37 | @@ -37,6 +38,7 @@ nodist_bench_bench_bitcoin_SOURCES = $(GENERATED_BENCH_FILES) 38 | bench_bench_bitcoin_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(EVENT_CLFAGS) $(EVENT_PTHREADS_CFLAGS) -I$(builddir)/bench/ 39 | bench_bench_bitcoin_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS) 40 | bench_bench_bitcoin_LDADD = \ 41 | + $(LIBBITCOIN_SERVER) \
IIUC this is the first bench touching RPC functionality.
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--174a7506f384e20aa4161008e828411d-->
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
Concept ACK
Anyone an idea how to fix the appveyor linker error?
cc @ken2812221
concept ACK
Comments trigged by this PR, but not directly related:
I would infer similar behavior in getrawmempool return values.
Seems that bench_bitcoin does not have univalue include path. I created PR #15503 to solve it.
utACK fa38535130266896c430d146b05d0069e525dbe6. Nice cleanup and new benchmark.