difftreelog
Foreign assets benchmark
in: master
8 files changed
Makefilediffbeforeafterboth128bench-rmrk-equip:128bench-rmrk-equip:129 make _bench PALLET=proxy-rmrk-equip129 make _bench PALLET=proxy-rmrk-equip130131.PHONY: bench-foreign-assets132bench-foreign-assets:133 make _bench PALLET=foreign-assets 130134131.PHONY: bench135.PHONY: bench132bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip136bench: bench-evm-migration bench-unique bench-structure bench-fungible bench-refungible bench-nonfungible bench-scheduler bench-rmrk-core bench-rmrk-equip bench-foreign-assets133137pallets/foreign-assets/Cargo.tomldiffbeforeafterboth22xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.27", default-features = false }22xcm-executor = { git = "https://github.com/paritytech/polkadot", branch = "release-v0.9.27", default-features = false }23#orml-tokens = { git = 'https://github.com/UniqueNetwork/open-runtime-module-library', branch = 'unique-polkadot-v0.9.24', version = "0.4.1-dev", default-features = false }23#orml-tokens = { git = 'https://github.com/UniqueNetwork/open-runtime-module-library', branch = 'unique-polkadot-v0.9.24', version = "0.4.1-dev", default-features = false }24orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.27", version = "0.4.1-dev", default-features = false }24orml-tokens = { git = "https://github.com/open-web3-stack/open-runtime-module-library", branch = "polkadot-v0.9.27", version = "0.4.1-dev", default-features = false }25#git = "https://github.com/open-web3-stack/open-runtime-module-library"25frame-benchmarking = { default-features = false, optional = true, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.27" }26#branch = "polkadot-v0.9.27"272628[dev-dependencies]27[dev-dependencies]29serde_json = "1.0.68"28serde_json = "1.0.68"51 "orml-tokens/std"50 "orml-tokens/std"52]51]53try-runtime = ["frame-support/try-runtime"]52try-runtime = ["frame-support/try-runtime"]5453runtime-benchmarks = ['frame-benchmarking', 'pallet-common/runtime-benchmarks']pallets/foreign-assets/src/benchmarking.rsdiffbeforeafterbothno changes
pallets/foreign-assets/src/lib.rsdiffbeforeafterboth124mod impl_fungibles;124mod impl_fungibles;125mod weights;125mod weights;126127#[cfg(feature = "runtime-benchmarks")]128mod benchmarking;126129127pub use module::*;130pub use module::*;128pub use weights::WeightInfo;131pub use weights::WeightInfo;303 let data: CreateCollectionData<T::AccountId> = CreateCollectionData {306 let data: CreateCollectionData<T::AccountId> = CreateCollectionData {304 name: name.try_into().unwrap(),307 name: name.try_into().unwrap(),305 description: description.try_into().unwrap(),308 description: description.try_into().unwrap(),306 mode: CollectionMode::Fungible(18),309 mode: CollectionMode::Fungible(md.decimals),307 ..Default::default()310 ..Default::default()308 };311 };309312runtime/common/runtime_apis.rsdiffbeforeafterboth653 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]653 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]654 list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip);654 list_benchmark!(list, extra, pallet_proxy_rmrk_equip, RmrkEquip);655656 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]657 list_benchmark!(list, extra, pallet_foreign_assets, ForeignAssets);658655659656 // list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);660 // list_benchmark!(list, extra, pallet_evm_coder_substrate, EvmCoderSubstrate);708 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]712 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]709 add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip);713 add_benchmark!(params, batches, pallet_proxy_rmrk_equip, RmrkEquip);714715 #[cfg(not(any(feature = "unique-runtime", feature = "quartz-runtime")))]716 add_benchmark!(params, batches, pallet_foreign_assets, ForeignAssets);710717711 // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);718 // add_benchmark!(params, batches, pallet_evm_coder_substrate, EvmCoderSubstrate);712719runtime/opal/Cargo.tomldiffbeforeafterboth35 'pallet-nonfungible/runtime-benchmarks',35 'pallet-nonfungible/runtime-benchmarks',36 'pallet-proxy-rmrk-core/runtime-benchmarks',36 'pallet-proxy-rmrk-core/runtime-benchmarks',37 'pallet-proxy-rmrk-equip/runtime-benchmarks',37 'pallet-proxy-rmrk-equip/runtime-benchmarks',38 'pallet-foreign-assets/runtime-benchmarks',38 'pallet-unique/runtime-benchmarks',39 'pallet-unique/runtime-benchmarks',39 'pallet-inflation/runtime-benchmarks',40 'pallet-inflation/runtime-benchmarks',40 'pallet-unique-scheduler/runtime-benchmarks',41 'pallet-unique-scheduler/runtime-benchmarks',runtime/quartz/Cargo.tomldiffbeforeafterboth36 'pallet-proxy-rmrk-core/runtime-benchmarks',36 'pallet-proxy-rmrk-core/runtime-benchmarks',37 'pallet-proxy-rmrk-equip/runtime-benchmarks',37 'pallet-proxy-rmrk-equip/runtime-benchmarks',38 'pallet-unique/runtime-benchmarks',38 'pallet-unique/runtime-benchmarks',39 'pallet-foreign-assets/runtime-benchmarks',39 'pallet-inflation/runtime-benchmarks',40 'pallet-inflation/runtime-benchmarks',40 'pallet-unique-scheduler/runtime-benchmarks',41 'pallet-unique-scheduler/runtime-benchmarks',41 'pallet-xcm/runtime-benchmarks',42 'pallet-xcm/runtime-benchmarks',runtime/unique/Cargo.tomldiffbeforeafterboth36 'pallet-proxy-rmrk-core/runtime-benchmarks',36 'pallet-proxy-rmrk-core/runtime-benchmarks',37 'pallet-proxy-rmrk-equip/runtime-benchmarks',37 'pallet-proxy-rmrk-equip/runtime-benchmarks',38 'pallet-unique/runtime-benchmarks',38 'pallet-unique/runtime-benchmarks',39 'pallet-foreign-assets/runtime-benchmarks',39 'pallet-inflation/runtime-benchmarks',40 'pallet-inflation/runtime-benchmarks',40 'pallet-unique-scheduler/runtime-benchmarks',41 'pallet-unique-scheduler/runtime-benchmarks',41 'pallet-xcm/runtime-benchmarks',42 'pallet-xcm/runtime-benchmarks',