Skip to content
Snippets Groups Projects
Unverified Commit aac35329 authored by bgallois's avatar bgallois
Browse files

fix(runtime) fix benchmarks for g1 and gtest

parent d74c4eb6
No related branches found
No related tags found
No related merge requests found
Pipeline #31961 passed
...@@ -130,16 +130,23 @@ pub type TechnicalCommitteeInstance = Instance2; ...@@ -130,16 +130,23 @@ pub type TechnicalCommitteeInstance = Instance2;
#[cfg(feature = "runtime-benchmarks")] #[cfg(feature = "runtime-benchmarks")]
mod benches { mod benches {
define_benchmarks!( define_benchmarks!(
// Duniter // For completion, benchmarks only running on `gdev-benchmark`.
// NOTE: Make sure to prefix these with `common_runtime::` so [pallet_certification, Cert]
// the that path resolves correctly in the generated file. [pallet_certification, SmithCert]
[common_runtime::oneshot_account, OneshotAccount] [pallet_oneshot_account, OneshotAccount]
[common_runtime::universal_dividend, UniversalDividend] [pallet_universal_dividend, UniversalDividend]
[common_runtime::upgrade_origin, UpgradeOrigin] [pallet_provide_randomness, ProvideRandomness]
[pallet_upgrade_origin, UpgradeOrigin]
[pallet_duniter_account, Account]
[pallet_identity, Identity]
[pallet_membership, Membership]
[pallet_membership, SmithMembership]
[pallet_authority_members, AuthorityMembers]
// Substrate // Substrate
[pallet_balances, Balances] [pallet_balances, Balances]
[frame_benchmarking::baseline, Baseline::<Runtime>] [frame_benchmarking::baseline, Baseline::<Runtime>]
[pallet_collective, TechnicalCommittee] [pallet_collective, TechnicalCommittee]
[pallet_session, SessionBench::<Runtime>]
[pallet_im_online, ImOnline] [pallet_im_online, ImOnline]
[pallet_multisig, Multisig] [pallet_multisig, Multisig]
[pallet_preimage, Preimage] [pallet_preimage, Preimage]
......
...@@ -131,16 +131,23 @@ pub type TechnicalCommitteeInstance = Instance2; ...@@ -131,16 +131,23 @@ pub type TechnicalCommitteeInstance = Instance2;
#[cfg(feature = "runtime-benchmarks")] #[cfg(feature = "runtime-benchmarks")]
mod benches { mod benches {
define_benchmarks!( define_benchmarks!(
// Duniter // For completion, benchmarks only running on `gdev-benchmark`.
// NOTE: Make sure to prefix these with `common_runtime::` so [pallet_certification, Cert]
// the that path resolves correctly in the generated file. [pallet_certification, SmithCert]
[common_runtime::oneshot_account, OneshotAccount] [pallet_oneshot_account, OneshotAccount]
[common_runtime::universal_dividend, UniversalDividend] [pallet_universal_dividend, UniversalDividend]
[common_runtime::upgrade_origin, UpgradeOrigin] [pallet_provide_randomness, ProvideRandomness]
[pallet_upgrade_origin, UpgradeOrigin]
[pallet_duniter_account, Account]
[pallet_identity, Identity]
[pallet_membership, Membership]
[pallet_membership, SmithMembership]
[pallet_authority_members, AuthorityMembers]
// Substrate // Substrate
[pallet_balances, Balances] [pallet_balances, Balances]
[frame_benchmarking::baseline, Baseline::<Runtime>] [frame_benchmarking::baseline, Baseline::<Runtime>]
[pallet_collective, TechnicalCommittee] [pallet_collective, TechnicalCommittee]
[pallet_session, SessionBench::<Runtime>]
[pallet_im_online, ImOnline] [pallet_im_online, ImOnline]
[pallet_multisig, Multisig] [pallet_multisig, Multisig]
[pallet_preimage, Preimage] [pallet_preimage, Preimage]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment