frequency-chain / frequency

Frequency: A Polkadot Parachain
https://www.frequency.xyz
Apache License 2.0
48 stars 18 forks source link

[Chore]: DB r/w optimizations for ProviderBoost operations #1967

Closed shannonwells closed 3 weeks ago

shannonwells commented 2 months ago

Problem

The results of the benchmarks for Capacity's provider_boost and on_initialize show that there is a need to try to get this down as much as possible.

The worst case on_initialize total weights increased by over 4X, and the provider_boost extrinsic cost is 2nd or 3rd highest of all the extrinics.

See PR #1966

wilwade commented 3 weeks ago

Closed in part by #2005