Remove legacy benchmarking code #385
Labels
D0-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder.
I4-refactor
Code needs refactoring.
We should have replacements for all benches in
bin/node/bench/
. That code is two years old and only used in the CI bench-regression-guard.To go through the files on by one:
construct.rs
Block construction benchmark: replaced bybin/node/cli/benches/block_production.rs
. We could add abenchmark block-production
or alike to have it work with any runtime.import.rs
Block import benchmark: replaced bybenchmark block
for historic blocks andbenchmark overhead
for freshly produced blocks. Naming is not ideal here though.trie.rs
Trie access with in-memory DB: replaced with actual storage access times bybenchmark storage
.tx_pool.rs
Transaction pool benchmarks: replaced bybin/node/cli/benches/transaction_pool.rs
Tasks:
The text was updated successfully, but these errors were encountered: