-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: fix benchmarks #985
Merged
Merged
Conversation
This file contains 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
sander2
force-pushed
the
chore/polkadot-0.9.38
branch
from
April 14, 2023 16:20
a27c7bf
to
b4fb898
Compare
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
chore: issue bench
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
chore: replace benchmarks
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
fix: make sure address parsing has complexity O(1)
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
chore: benchmark tx complexity in issue and replace
chore: xcm benchmarks
chore: orml-asset-registry benchmarks
[BREAKING] chore!: remove dex-swap-router
chore: whitelist storage items that are read every block
orml-vesting benches v2
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
chore: sort runtime benchmarks and toml
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
chore: fix remaining benchmarks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #1043
IdentifyChain
impl)We can generate the weights for an individual pallet using this command:
cargo run --bin interbtc-parachain --features runtime-benchmarks --release -- benchmark pallet --pallet escrow --extrinsic '*' --chain kintsugi-dev --execution=wasm --wasm-execution=compiled --steps 50 --repeat 20 --output crates/escrow/src/default_weights.rs --template .deploy/default-weight-template.hbs
Or for a runtime:
cargo run --bin interbtc-parachain --features runtime-benchmarks --release -- benchmark pallet --pallet escrow --extrinsic '*' --chain kintsugi-dev --execution=wasm --wasm-execution=compiled --steps 100 --repeat 10 --output parachain/runtime/kintsugi/src/weights/ --template .deploy/runtime-weight-template.hbs
Breaking Changes
BTCRelay
store_block_header
now takes afork_bound
parameter which can be set toChainCounter
verify_and_validate_transaction
verify_transaction_inclusion
validate_transaction
Error::WrongForkBound
andError::BoundExceeded
ClientsInfo
client_name
anduri
are now bounded inset_current_client_release
andset_pending_client_release
DexGeneral
Error::TooManyRewards
andError::TooManyLimits
DexStable
Error::TooManyCurrencies
DexSwapRouter
pallet-utility
insteadFarming
length_bound
todeposit
andwithdraw
FarmingRewards::RewardCurrencies
Issue
length_bound
toexecute_issue
which can be set to the formatted Bitcoin transaction sizeOracle
Redeem
length_bound
toexecute_redeem
which can be set to the formatted Bitcoin transaction sizeReplace
length_bound
toexecute_replace
which can be set to the formatted Bitcoin transaction sizeSecurity