Closed Dinonard closed 3 months ago
Most of the benchmarks are implemented in Acala repo because the benchmarking tool provided by Substrate was very limited and makes writing benchmarks miserable.
The new syntax and related changes may have improved the situation but we haven't spent enough time looking into it.
Happy to accept contributions to port the benchmarks in Acala repo to here.
Got it, thanks! Will take a look and come back with questions if any.
orml-oracle
module is missing benchmark code. The only provided weight is also only valid for RocksDb.This is even more problematic since it's not possible to measure
OnNewData
weight if some custom logic is added there.Is this code maybe available somewhere but I'm missing it? If not, I don't mind working on this.