timechain_runtime/
benches.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//! Runtime Benchmarks List.
//!
//! Provides available benchmarks via [`add_benchmarks`] and [`list_benchmarks`]

#[cfg(not(feature = "testnet"))]
polkadot_sdk::frame_benchmarking::define_benchmarks!(
	[frame_benchmarking, BaselineBench::<Runtime>]
	[frame_system, SystemBench::<Runtime>]
	[frame_system_extensions, SystemExtensionsBench::<Runtime>]
	[pallet_airdrop, Airdrop]
	[pallet_babe, Babe]
	[pallet_bags_list, VoterList]
	[pallet_balances, Balances]
	[pallet_collective, TechnicalCommittee]
	[pallet_election_provider_multi_phase, ElectionProviderMultiPhase]
	[pallet_election_provider_support_benchmarking, EPSBench::<Runtime>]
	[pallet_grandpa, Grandpa]
	[pallet_im_online, ImOnline]
	[pallet_launch, Launch]
	[pallet_membership, TechnicalMembership]
	[pallet_multisig, Multisig]
	[pallet_nomination_pools, NominationPoolsBench::<Runtime>]
	[pallet_offences, OffencesBench::<Runtime>]
	[pallet_proxy, Proxy]
	[pallet_session, SessionBench::<Runtime>]
	[pallet_staking, Staking]
	[pallet_timestamp, Timestamp]
	[pallet_transaction_payment, TransactionPayment]
	[pallet_utility, Utility]
	[pallet_vesting, Vesting]
);

#[cfg(feature = "testnet")]
polkadot_sdk::frame_benchmarking::define_benchmarks!(
	[frame_benchmarking, BaselineBench::<Runtime>]
	[frame_system, SystemBench::<Runtime>]
	[frame_system_extensions, SystemExtensionsBench::<Runtime>]
	[pallet_babe, Babe]
	[pallet_bags_list, VoterList]
	[pallet_balances, Balances]
	[pallet_collective, TechnicalCommittee]
	[pallet_election_provider_multi_phase, ElectionProviderMultiPhase]
	[pallet_election_provider_support_benchmarking, EPSBench::<Runtime>]
	[pallet_elections, Elections]
	[pallet_grandpa, Grandpa]
	[pallet_identity, Identity]
	[pallet_im_online, ImOnline]
	[pallet_membership, TechnicalMembership]
	[pallet_members, Members]
	[pallet_multisig, Multisig]
	[pallet_networks, Networks]
	[pallet_nomination_pools, NominationPoolsBench::<Runtime>]
	[pallet_offences, OffencesBench::<Runtime>]
	[pallet_preimage, Preimage]
	[pallet_proxy, Proxy]
	[pallet_revive, Revive]
	[pallet_scheduler, Scheduler]
	[pallet_session, SessionBench::<Runtime>]
	[pallet_shards, Shards]
	[pallet_staking, Staking]
	[pallet_tasks, Tasks]
	[pallet_timegraph, Timegraph]
	[pallet_timestamp, Timestamp]
	[pallet_transaction_payment, TransactionPayment]
	[pallet_utility, Utility]
	[pallet_vesting, Vesting]
);