-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Description
... and re-benchmark all pallets.
These values should be adjusted to base weights that are in-line with the actual state size of each runtime:
runtimes/system-parachains/asset-hubs/asset-hub-polkadot/src/weights/rocksdb_weights.rs
Lines 24 to 31 in f22fb25
| parameter_types! { | |
| /// By default, Substrate uses `RocksDB`, so this will be the weight used throughout | |
| /// the runtime. | |
| pub const RocksDbWeight: RuntimeDbWeight = RuntimeDbWeight { | |
| read: 25_000 * constants::WEIGHT_REF_TIME_PER_NANOS, | |
| write: 100_000 * constants::WEIGHT_REF_TIME_PER_NANOS, | |
| }; | |
| } |
We should also have CI checks that checks the state size of a chain, compare it with the benchmarking assumption, and raise a warning if we are over.
Metadata
Metadata
Assignees
Labels
No labels