Improve XCMP weight metering (#7963)
This PR Improves the weight metering for the `enqueue_xcmp_message()`
method, by accounting for cached reads/writes and for the size of the
enqueued messages
---------
Co-authored-by:
cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Showing
- cumulus/pallets/xcmp-queue/src/benchmarking.rs 40 additions, 7 deletionscumulus/pallets/xcmp-queue/src/benchmarking.rs
- cumulus/pallets/xcmp-queue/src/lib.rs 31 additions, 10 deletionscumulus/pallets/xcmp-queue/src/lib.rs
- cumulus/pallets/xcmp-queue/src/mock.rs 9 additions, 5 deletionscumulus/pallets/xcmp-queue/src/mock.rs
- cumulus/pallets/xcmp-queue/src/tests.rs 9 additions, 3 deletionscumulus/pallets/xcmp-queue/src/tests.rs
- cumulus/pallets/xcmp-queue/src/weights.rs 159 additions, 89 deletionscumulus/pallets/xcmp-queue/src/weights.rs
- cumulus/pallets/xcmp-queue/src/weights_ext.rs 44 additions, 0 deletionscumulus/pallets/xcmp-queue/src/weights_ext.rs
- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/weights/cumulus_pallet_xcmp_queue.rs 40 additions, 17 deletions...asset-hub-rococo/src/weights/cumulus_pallet_xcmp_queue.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights/cumulus_pallet_xcmp_queue.rs 40 additions, 17 deletions...sset-hub-westend/src/weights/cumulus_pallet_xcmp_queue.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/weights/cumulus_pallet_xcmp_queue.rs 40 additions, 17 deletions...ridge-hub-rococo/src/weights/cumulus_pallet_xcmp_queue.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/weights/cumulus_pallet_xcmp_queue.rs 40 additions, 17 deletions...idge-hub-westend/src/weights/cumulus_pallet_xcmp_queue.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/weights/cumulus_pallet_xcmp_queue.rs 40 additions, 17 deletions...lectives-westend/src/weights/cumulus_pallet_xcmp_queue.rs
- cumulus/parachains/runtimes/coretime/coretime-rococo/src/weights/cumulus_pallet_xcmp_queue.rs 40 additions, 17 deletions.../coretime-rococo/src/weights/cumulus_pallet_xcmp_queue.rs
- cumulus/parachains/runtimes/coretime/coretime-westend/src/weights/cumulus_pallet_xcmp_queue.rs 40 additions, 17 deletions...coretime-westend/src/weights/cumulus_pallet_xcmp_queue.rs
- cumulus/parachains/runtimes/people/people-rococo/src/weights/cumulus_pallet_xcmp_queue.rs 40 additions, 17 deletions...le/people-rococo/src/weights/cumulus_pallet_xcmp_queue.rs
- cumulus/parachains/runtimes/people/people-westend/src/weights/cumulus_pallet_xcmp_queue.rs 40 additions, 17 deletions...e/people-westend/src/weights/cumulus_pallet_xcmp_queue.rs
- substrate/frame/message-queue/src/lib.rs 47 additions, 35 deletionssubstrate/frame/message-queue/src/lib.rs
Please register or sign in to comment