Skip to content

Update base/overhead benchmark weights #992

@kianenigma

Description

@kianenigma

... 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:

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions