-
Notifications
You must be signed in to change notification settings - Fork 47
feat: benchmarks #585
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
feat: benchmarks #585
Changes from 7 commits
0c56e4c
2df9776
e1f186d
f20beba
bc2bdc2
fddc666
681dc77
279d241
7fe3593
2ccadf5
70431ef
538a234
cacf04c
870f424
22ccaad
c8aed6f
da6314d
5706638
14748ef
0cba1d1
90f5fe4
cc00b0b
d276f0e
489806f
b493baf
8b97889
048b72d
192e665
a5d246e
b0f42c4
db976e4
11f9e28
faf0a30
e94caab
2481a5a
650d311
3b33c61
9dfcf03
ad270c5
1fe7290
daea05f
76c79bf
9594535
9899e4d
8b7dc12
34c2aad
757f1cf
a3daa24
9625dfc
1c70fcb
052254a
1f59a54
e73c686
e91bb50
e8f0200
4fad41b
42414a5
0bad8c0
6b3e1e3
c0efd83
78e0959
09f1f6c
387767b
7a8e572
b33e6ca
2d3ee23
459ab82
69ad8e4
e64d943
82ac447
b7add42
8a44925
1ccc2fe
20b0d16
3c5e579
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -434,6 +434,30 @@ impl pallet_web3_names::Config for Runtime { | |
| type WeightInfo = (); | ||
| } | ||
|
|
||
| #[cfg(feature = "runtime-benchmarks")] | ||
| mod benches { | ||
| frame_benchmarking::define_benchmarks!( | ||
| [frame_system, SystemBench::<Runtime>] | ||
| [cumulus_pallet_parachain_system, ParachainSystem] | ||
| [pallet_timestamp, Timestamp] | ||
| [pallet_sudo, Sudo] | ||
| [pallet_utility, Utility] | ||
| [pallet_balances, Balances] | ||
| [pallet_transaction_payment, TransactionPayment] | ||
| [pallet_authorship, Authorship] | ||
| [pallet_collator_selection, CollatorSelection] | ||
| [pallet_session, Session] | ||
| [pallet_aura, Aura] | ||
| [cumulus_pallet_aura_ext, AuraExt] | ||
| [did, Did] | ||
| [pallet_did_lookup, DidLookup] | ||
| [pallet_web3_names, Web3Names] | ||
| [pallet_deposit_storage, DepositStorage] | ||
| [pallet_dip_provider, DipProvider] | ||
| [frame_benchmarking::baseline, Baseline::<Runtime>] | ||
| ); | ||
| } | ||
|
|
||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perhaps I made a mistake. I compiled the branch using: When I run:
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Mhh, I might have missed some dependency when the benchmark feature is enabled. I will investigate that |
||
| impl_runtime_apis! { | ||
| impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime { | ||
| fn slot_duration() -> SlotDuration { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.