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
aac35329
Unverified
Commit
aac35329
authored
1 year ago
by
bgallois
Browse files
Options
Downloads
Patches
Plain Diff
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
1 year ago
Stage: labels
Stage: quality
Stage: build
Stage: tests
Stage: deploy
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 @
aac35329
...
@@ -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
]
...
...
This diff is collapsed.
Click to expand it.
runtime/gtest/src/lib.rs
+
13
−
6
View file @
aac35329
...
@@ -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
]
...
...
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