Reorders benchmarks to follow same order as extrinsics, making it easier to compare
Fixes order of complexity parameters in tip benchmark to align with parameters used on weight attribute of tip dispatchable function
Replaces the use of spot_price() with a bounded vector with maximum based on T::MaxQueryDataLength. It is better to benchmark using the worst case value rather than hard-coded query data based on spot price.
Simplifies the implementation of the set_time() function in TestBenchmarkHelper
passes the s complexity parameter value to the dispatchable function call in the send_votes benchmark
PS - looking at the benchmark results in more detail has highlighted a few areas for additional optimisation, which I will address in another PR.
tip
benchmark to align with parameters used on weight attribute oftip
dispatchable functionspot_price()
with a bounded vector with maximum based onT::MaxQueryDataLength
. It is better to benchmark using the worst case value rather than hard-coded query data based on spot price.set_time()
function inTestBenchmarkHelper
s
complexity parameter value to the dispatchable function call in thesend_votes
benchmarkPS - looking at the benchmark results in more detail has highlighted a few areas for additional optimisation, which I will address in another PR.