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
f95f5af1
Commit
f95f5af1
authored
2 years ago
by
Éloïs
Committed by
Éloïs
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
run real benchmarks for pallet oneshot
parent
680e777a
No related branches found
No related tags found
1 merge request
!51
Oneshot accounts
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
runtime/common/src/weights/pallet_oneshot_account.rs
+9
-8
9 additions, 8 deletions
runtime/common/src/weights/pallet_oneshot_account.rs
runtime/gdev/Cargo.toml
+1
-0
1 addition, 0 deletions
runtime/gdev/Cargo.toml
with
10 additions
and
8 deletions
runtime/common/src/weights/pallet_oneshot_account.rs
+
9
−
8
View file @
f95f5af1
...
...
@@ -17,19 +17,20 @@
//! Autogenerated weights for `pallet_oneshot_account`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2022-0
6-2
8, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION:
Compil
ed, CHAIN: Some("dev"), DB CACHE: 1024
//! DATE: 2022-0
8-0
8, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION:
Interpret
ed, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// ./
target/release/
duniter
// ./duniter
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_oneshot
-
account
// --pallet=pallet_oneshot
_
account
// --extrinsic=*
// --execution=wasm
// --wasm-execution=
compiled
// --wasm-execution=
interpreted-i-know-what-i-do
// --heap-pages=4096
// --header=./file_header.txt
// --output=.
...
...
@@ -47,7 +48,7 @@ pub struct WeightInfo<T>(PhantomData<T>);
impl
<
T
:
frame_system
::
Config
>
pallet_oneshot_account
::
WeightInfo
for
WeightInfo
<
T
>
{
// Storage: OneshotAccount OneshotAccounts (r:1 w:1)
fn
create_oneshot_account
()
->
Weight
{
(
45_690
_000
as
Weight
)
(
941_602
_000
as
Weight
)
.saturating_add
(
T
::
DbWeight
::
get
()
.reads
(
1
as
Weight
))
.saturating_add
(
T
::
DbWeight
::
get
()
.writes
(
1
as
Weight
))
}
...
...
@@ -55,7 +56,7 @@ impl<T: frame_system::Config> pallet_oneshot_account::WeightInfo for WeightInfo<
// Storage: System BlockHash (r:1 w:0)
// Storage: System Account (r:1 w:1)
fn
consume_oneshot_account
()
->
Weight
{
(
50_060
_000
as
Weight
)
(
971_453
_000
as
Weight
)
.saturating_add
(
T
::
DbWeight
::
get
()
.reads
(
3
as
Weight
))
.saturating_add
(
T
::
DbWeight
::
get
()
.writes
(
2
as
Weight
))
}
...
...
@@ -63,7 +64,7 @@ impl<T: frame_system::Config> pallet_oneshot_account::WeightInfo for WeightInfo<
// Storage: System BlockHash (r:1 w:0)
// Storage: System Account (r:2 w:2)
fn
consume_oneshot_account_with_remaining
()
->
Weight
{
(
69_346
_000
as
Weight
)
(
1_500_781
_000
as
Weight
)
.saturating_add
(
T
::
DbWeight
::
get
()
.reads
(
4
as
Weight
))
.saturating_add
(
T
::
DbWeight
::
get
()
.writes
(
3
as
Weight
))
}
...
...
This diff is collapsed.
Click to expand it.
runtime/gdev/Cargo.toml
+
1
−
0
View file @
f95f5af1
...
...
@@ -36,6 +36,7 @@ runtime-benchmarks = [
'pallet-provide-randomness/runtime-benchmarks'
,
'pallet-im-online/runtime-benchmarks'
,
'pallet-multisig/runtime-benchmarks'
,
'pallet-oneshot-account/runtime-benchmarks'
,
'pallet-preimage/runtime-benchmarks'
,
'pallet-proxy/runtime-benchmarks'
,
'pallet-scheduler/runtime-benchmarks'
,
...
...
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