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
Merge requests
!156
Substrate pallets benchmark
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Substrate pallets benchmark
bgallois/duniter-v2s:benchmark_substrate_pallets
into
master
Overview
2
Commits
5
Pipelines
30
Changes
16
Merged
Benjamin Gallois
requested to merge
bgallois/duniter-v2s:benchmark_substrate_pallets
into
master
2 years ago
Overview
2
Commits
5
Pipelines
30
Changes
16
Expand
Benchmark Substrate pallets (
#75 (closed)
and
#81 (closed)
)
0
0
Merge request reports
Compare
master
version 14
8c85d94a
2 years ago
version 13
79d7aaca
2 years ago
version 12
efe244ea
2 years ago
version 11
6a92cdf8
2 years ago
version 10
e8f0932f
2 years ago
version 9
88ebbbf5
2 years ago
version 8
3aac161f
2 years ago
version 7
7123d7ab
2 years ago
version 6
6ce67bbb
2 years ago
version 5
61f259c5
2 years ago
version 4
ef98db45
2 years ago
version 3
c65c03e3
2 years ago
version 2
606ef32a
2 years ago
version 1
cd3a23d6
2 years ago
master (base)
and
version 4
latest version
df40129c
5 commits,
2 years ago
version 14
8c85d94a
5 commits,
2 years ago
version 13
79d7aaca
5 commits,
2 years ago
version 12
efe244ea
5 commits,
2 years ago
version 11
6a92cdf8
5 commits,
2 years ago
version 10
e8f0932f
5 commits,
2 years ago
version 9
88ebbbf5
4 commits,
2 years ago
version 8
3aac161f
4 commits,
2 years ago
version 7
7123d7ab
4 commits,
2 years ago
version 6
6ce67bbb
4 commits,
2 years ago
version 5
61f259c5
3 commits,
2 years ago
version 4
ef98db45
2 commits,
2 years ago
version 3
c65c03e3
2 commits,
2 years ago
version 2
606ef32a
1 commit,
2 years ago
version 1
cd3a23d6
1 commit,
2 years ago
16 files
+
746
−
229
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
16
Search (e.g. *.vue) (Ctrl+P)
runtime/common/src/weights/frame_benchmarking_baseline.rs
0 → 100644
+
101
−
0
Options
// Copyright 2021-2022 Axiom-Team
//
// This file is part of Duniter-v2S.
//
// Duniter-v2S is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, version 3 of the License.
//
// Duniter-v2S is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with Duniter-v2S. If not, see <https://www.gnu.org/licenses/>.
//! Autogenerated weights for `frame_benchmarking::baseline`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-04-27, STEPS: `50`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! HOSTNAME: `benjamin-xps139380`, CPU: `Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("dev"), DB CACHE: 1024
// Executed Command:
// target/release/duniter
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=*
// --extrinsic=*
// --execution=wasm
// --wasm-execution=compiled
// --heap-pages=4096
// --header=./file_header.txt
// --output=./runtime/common/src/weights/
#![cfg_attr(rustfmt,
rustfmt_skip)]
#![allow(unused_parens)]
#![allow(unused_imports)]
use
frame_support
::{
traits
::
Get
,
weights
::
Weight
};
use
sp_std
::
marker
::
PhantomData
;
/// Weight functions for `frame_benchmarking::baseline`.
pub
struct
WeightInfo
<
T
>
(
PhantomData
<
T
>
);
impl
<
T
:
frame_system
::
Config
>
frame_benchmarking
::
baseline
::
WeightInfo
for
WeightInfo
<
T
>
{
/// The range of component `i` is `[0, 1000000]`.
fn
addition
(
_i
:
u32
,
)
->
Weight
{
// Minimum execution time: 617 nanoseconds.
Weight
::
from_ref_time
(
1_461_024
as
u64
)
}
/// The range of component `i` is `[0, 1000000]`.
fn
subtraction
(
_i
:
u32
,
)
->
Weight
{
// Minimum execution time: 596 nanoseconds.
Weight
::
from_ref_time
(
1_309_419
as
u64
)
}
/// The range of component `i` is `[0, 1000000]`.
fn
multiplication
(
_i
:
u32
,
)
->
Weight
{
// Minimum execution time: 615 nanoseconds.
Weight
::
from_ref_time
(
1_302_257
as
u64
)
}
/// The range of component `i` is `[0, 1000000]`.
fn
division
(
_i
:
u32
,
)
->
Weight
{
// Minimum execution time: 603 nanoseconds.
Weight
::
from_ref_time
(
1_519_320
as
u64
)
}
/// The range of component `i` is `[0, 100]`.
fn
hashing
(
i
:
u32
,
)
->
Weight
{
// Minimum execution time: 70_557_507 nanoseconds.
Weight
::
from_ref_time
(
79_338_326_220
as
u64
)
// Standard Error: 9_989_171
.saturating_add
(
Weight
::
from_ref_time
(
27_875_256
as
u64
)
.saturating_mul
(
i
as
u64
))
}
/// The range of component `i` is `[0, 100]`.
fn
sr25519_verification
(
i
:
u32
,
)
->
Weight
{
// Minimum execution time: 855 nanoseconds.
Weight
::
from_ref_time
(
952_000
as
u64
)
// Standard Error: 278_536
.saturating_add
(
Weight
::
from_ref_time
(
129_780_692
as
u64
)
.saturating_mul
(
i
as
u64
))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn
storage_read
(
i
:
u32
,
)
->
Weight
{
// Minimum execution time: 1_840 nanoseconds.
Weight
::
from_ref_time
(
73_727_738
as
u64
)
// Standard Error: 88_358
.saturating_add
(
Weight
::
from_ref_time
(
6_980_883
as
u64
)
.saturating_mul
(
i
as
u64
))
.saturating_add
(
T
::
DbWeight
::
get
()
.reads
((
1
as
u64
)
.saturating_mul
(
i
as
u64
)))
}
// Storage: Skipped Metadata (r:0 w:0)
/// The range of component `i` is `[0, 1000]`.
fn
storage_write
(
i
:
u32
,
)
->
Weight
{
// Minimum execution time: 673 nanoseconds.
Weight
::
from_ref_time
(
6_595_911
as
u64
)
// Standard Error: 26_492
.saturating_add
(
Weight
::
from_ref_time
(
1_490_316
as
u64
)
.saturating_mul
(
i
as
u64
))
.saturating_add
(
T
::
DbWeight
::
get
()
.writes
((
1
as
u64
)
.saturating_mul
(
i
as
u64
)))
}
}
Loading