Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
rust
Duniter v2S
Commits
9f6c1c39
Commit
9f6c1c39
authored
1 year ago
by
bgallois
Committed by
Hugo Trentesaux
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
fix(runtime) fix benchmarks for g1 and gtest
parent
983b32d2
No related branches found
No related tags found
1 merge request
!170
Add check that benchmark run on appropriate genesis
Pipeline
#31970
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
runtime/g1/src/lib.rs
+13
-6
13 additions, 6 deletions
runtime/g1/src/lib.rs
runtime/gtest/src/lib.rs
+13
-6
13 additions, 6 deletions
runtime/gtest/src/lib.rs
with
26 additions
and
12 deletions
runtime/g1/src/lib.rs
+
13
−
6
View file @
9f6c1c39
...
...
@@ -130,16 +130,23 @@ pub type TechnicalCommitteeInstance = Instance2;
#[cfg(feature
=
"runtime-benchmarks"
)]
mod
benches
{
define_benchmarks!
(
// Duniter
// NOTE: Make sure to prefix these with `common_runtime::` so
// the that path resolves correctly in the generated file.
[
common_runtime
::
oneshot_account
,
OneshotAccount
]
[
common_runtime
::
universal_dividend
,
UniversalDividend
]
[
common_runtime
::
upgrade_origin
,
UpgradeOrigin
]
// For completion, benchmarks only running on `gdev-benchmark`.
[
pallet_certification
,
Cert
]
[
pallet_certification
,
SmithCert
]
[
pallet_oneshot_account
,
OneshotAccount
]
[
pallet_universal_dividend
,
UniversalDividend
]
[
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
[
pallet_balances
,
Balances
]
[
frame_benchmarking
::
baseline
,
Baseline
::
<
Runtime
>
]
[
pallet_collective
,
TechnicalCommittee
]
[
pallet_session
,
SessionBench
::
<
Runtime
>
]
[
pallet_im_online
,
ImOnline
]
[
pallet_multisig
,
Multisig
]
[
pallet_preimage
,
Preimage
]
...
...
This diff is collapsed.
Click to expand it.
runtime/gtest/src/lib.rs
+
13
−
6
View file @
9f6c1c39
...
...
@@ -131,16 +131,23 @@ pub type TechnicalCommitteeInstance = Instance2;
#[cfg(feature
=
"runtime-benchmarks"
)]
mod
benches
{
define_benchmarks!
(
// Duniter
// NOTE: Make sure to prefix these with `common_runtime::` so
// the that path resolves correctly in the generated file.
[
common_runtime
::
oneshot_account
,
OneshotAccount
]
[
common_runtime
::
universal_dividend
,
UniversalDividend
]
[
common_runtime
::
upgrade_origin
,
UpgradeOrigin
]
// For completion, benchmarks only running on `gdev-benchmark`.
[
pallet_certification
,
Cert
]
[
pallet_certification
,
SmithCert
]
[
pallet_oneshot_account
,
OneshotAccount
]
[
pallet_universal_dividend
,
UniversalDividend
]
[
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
[
pallet_balances
,
Balances
]
[
frame_benchmarking
::
baseline
,
Baseline
::
<
Runtime
>
]
[
pallet_collective
,
TechnicalCommittee
]
[
pallet_session
,
SessionBench
::
<
Runtime
>
]
[
pallet_im_online
,
ImOnline
]
[
pallet_multisig
,
Multisig
]
[
pallet_preimage
,
Preimage
]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment