frame_system.rs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 2.0.0
  2. #![allow(unused_parens)]
  3. #![allow(unused_imports)]
  4. use frame_support::weights::{constants::RocksDbWeight as DbWeight, Weight};
  5. pub struct WeightInfo;
  6. impl frame_system::WeightInfo for WeightInfo {
  7. // WARNING! Some components were not used: ["b"]
  8. fn remark() -> Weight {
  9. (9_342_000 as Weight)
  10. }
  11. fn set_heap_pages() -> Weight {
  12. (11_274_000 as Weight).saturating_add(DbWeight::get().writes(1 as Weight))
  13. }
  14. // WARNING! Some components were not used: ["d"]
  15. fn set_changes_trie_config() -> Weight {
  16. (32_325_000 as Weight)
  17. .saturating_add(DbWeight::get().reads(1 as Weight))
  18. .saturating_add(DbWeight::get().writes(2 as Weight))
  19. }
  20. fn set_storage(i: u32) -> Weight {
  21. (0 as Weight)
  22. .saturating_add((2_060_000 as Weight).saturating_mul(i as Weight))
  23. .saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
  24. }
  25. fn kill_storage(i: u32) -> Weight {
  26. (27_686_000 as Weight)
  27. .saturating_add((1_237_000 as Weight).saturating_mul(i as Weight))
  28. .saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(i as Weight)))
  29. }
  30. fn kill_prefix(p: u32) -> Weight {
  31. (27_689_000 as Weight)
  32. .saturating_add((1_205_000 as Weight).saturating_mul(p as Weight))
  33. .saturating_add(DbWeight::get().writes((1 as Weight).saturating_mul(p as Weight)))
  34. }
  35. fn suicide() -> Weight {
  36. (145_274_000 as Weight)
  37. }
  38. }