This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 371
[Feature] Add XCM benchmark weights to Statemint and Statemine #1454
Merged
Merged
Changes from 1 commit
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
999e8f7
[Feature] Add XCM benchmarark weights to Statemint and Statemine
ruseinov 26457ca
add xcm-bench-template
ruseinov f07deed
add polkadot xcm bench pallet to statemint
ruseinov 9a179aa
Sample benchmarking that compiles
ruseinov 009a3c5
add benches to the module
ruseinov dc1b3ef
Remove batches assertion and whitelist ActiveConfig
ruseinov 6e06b34
Merge branch 'master' of https://github.com/paritytech/cumulus into HEAD
c19763d
".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmar…
4435ac6
".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmar…
0fe8134
fix benchmarks
ruseinov c996d6e
fix get_multi_asset
ruseinov 9845cdf
fmt and more bench fixes
ruseinov bfa6b5b
reformat
ruseinov 0a8abce
move Xcm type definitions
ruseinov 4086364
define types twice
ruseinov 09b9f02
remove commented out lines
ruseinov 4d28efa
define Xcm bench types globally
ruseinov bf182cc
test use
ruseinov af88575
fix semi
ruseinov 84bd7c7
make sure the type definittion is properly documented
ruseinov 1434df7
tweak TrustedTeleporter/Reserve
ruseinov b1e472c
use dots as asset
ruseinov 7574607
Merge branch 'master' into ruseinov/feature/statemint-xcm-benchmarks
ruseinov 063fabc
copy benchmarks over, fix the ci script
ruseinov 0972d9d
remove extra asset
ruseinov 19a991e
Merge branch 'master' of https://github.com/paritytech/cumulus into HEAD
dc64b57
".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmar…
6c94d5c
benchmarks setup for statemint/e and westmint
ruseinov 5dddc60
".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmar…
3481ffa
".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmar…
3eeeea2
".git/.scripts/bench-bot.sh" xcm statemine assets pallet_xcm_benchmar…
33e808e
remove a check
ruseinov 2ff069f
".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmark…
2ebc26d
Merge branch 'master' of https://github.com/paritytech/cumulus into HEAD
bebc96b
".git/.scripts/bench-bot.sh" xcm westmint assets pallet_xcm_benchmark…
08cc6e9
implement WeightInfoBounds for all the asset runtimes
ruseinov a2475db
Merge branch 'master' into ruseinov/feature/statemint-xcm-benchmarks
ruseinov b901025
update Cargo.lock
ruseinov 2f8655b
Merge branch 'master' into ruseinov/feature/statemint-xcm-benchmarks
ruseinov aec4b36
fix Muharem's comments
ruseinov 0a8a994
Merge branch 'master' of https://github.com/paritytech/cumulus into HEAD
de97475
".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmar…
80faa1d
Update parachains/runtimes/assets/statemint/src/lib.rs
ruseinov 5dabe9e
fix some review comments
ruseinov 274a576
fix file headers
ruseinov c50d468
more fixes to licenses and such
ruseinov 0fc3bf0
fix another inconsistency
ruseinov e6859c0
Extend weights template
ggwpez 10b07ee
remove a placeholder
ruseinov d239b60
remove redundant overrides
ruseinov 2161326
Merge branch 'master' of https://github.com/paritytech/cumulus into HEAD
3b869fe
".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmar…
168f0b3
Update benchmarking.rs
ruseinov 59ab737
remove redundant bench
ruseinov 898b8bf
fix
ruseinov 8cf49f1
".git/.scripts/bench-bot.sh" xcm statemint assets pallet_xcm_benchmar…
3b4133f
Update pallets/xcm-benchmarks/src/fungible/mock.rs
ruseinov 571ca78
remove TODO's
ruseinov 5499ef2
remove local xcm-benchmark-pallet impl
ruseinov a09960e
disable CheckedAccount in benches
ruseinov 247a9d9
Merge branch 'master' into ruseinov/feature/statemint-xcm-benchmarks
ruseinov 49a3b1d
Merge branch 'master' into ruseinov/feature/statemint-xcm-benchmarks
ruseinov b8d6186
update template
ruseinov a12e37d
fix up imports
ruseinov 1cb21e6
fix xcm
ruseinov 0eab441
fix the template
ruseinov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix Muharem's comments
- Loading branch information
commit aec4b364ee3827b08d0bd579eb7d0b8afb110a15
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
parachains/runtimes/assets/statemine/src/weights/xcm/mod.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
parachains/runtimes/assets/statemint/src/weights/xcm/mod.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
parachains/runtimes/assets/westmint/src/weights/xcm/mod.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| steps=2 | ||
| repeat=1 | ||
| steps=50 | ||
| repeat=20 | ||
| category=$1 | ||
| runtimeName=$2 | ||
| artifactsDir=$3 | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.