Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
baea488
ci: initial fuzzer job
Mar 12, 2021
5b4c169
erasure-coding: update fuzzer Cargo.lock
Mar 12, 2021
2a2b8e3
syntax fix
Mar 12, 2021
68485a2
try this first
Mar 12, 2021
9e18f14
install honggfuzz deps
Mar 12, 2021
2a14d38
try not
Mar 12, 2021
007e345
try if else
Mar 12, 2021
091dcf0
try SIGINT
Mar 13, 2021
be927b2
ignore hfuzz dirs
Mar 13, 2021
0549076
???
Mar 13, 2021
7ca6f2b
bash is growing on me
Mar 13, 2021
225da3d
decouple builds from running
Mar 13, 2021
ec489f5
fix a typo
Mar 13, 2021
8a11653
try copying dirs
Mar 13, 2021
d0cea26
fix indentation
Mar 13, 2021
695cc0d
try using absolute paths
Mar 13, 2021
2bd647c
another try
Mar 13, 2021
8174515
caching is not worth it
Mar 13, 2021
6701361
remove outdated needs
Mar 13, 2021
d1e58a4
cleanup and add futher TODOs
Mar 13, 2021
c3bd79c
Update .github/workflows/honggfuzz.yml
Mar 15, 2021
48a7832
more diagnostic logs for approval-voting (#2618)
rphmeier Mar 12, 2021
517b26c
Backing and collator protocol traces including para-id (#2620)
rphmeier Mar 14, 2021
2b26019
add tracing when no assignment in candidate selection (#2623)
rphmeier Mar 14, 2021
4078d11
New slots/auctions architecture (#2294)
gavofyork Mar 14, 2021
92165dd
update ring to 0.16.20 (#2626)
Mar 15, 2021
d2bb9f6
Remove TODO from substrate#2986 (#2628)
shawntabrizi Mar 15, 2021
b82964e
Companion for sub/8176 (#2622)
kianenigma Mar 16, 2021
326e7a7
Add /data symlink to Docker containers (#2627)
s3krit Mar 16, 2021
bcb8e98
Fix wrong deposit amount in council voters. (#2562)
kianenigma Mar 17, 2021
8661baf
re benchmark (#2630)
kianenigma Mar 17, 2021
8debc0a
Reduce number of active leaves at startup (#2631)
bkchr Mar 17, 2021
419b58b
yet another set of logging improvements (#2638)
rphmeier Mar 17, 2021
4c8c8d7
Polkadot companion for Substrate PR #7640 (Store multiple Justificati…
octol Mar 17, 2021
6c2f47b
Companion for Substrate#8386 (#2634)
bkchr Mar 17, 2021
04c5e29
Request based collation fetching (#2621)
eskimor Mar 18, 2021
ac84870
Companion for #8372 (Replace 'Module' with 'Pallet' in construct_runt…
shaunxw Mar 18, 2021
afcbfd3
integrate faster erasure code (#2608)
drahnr Mar 18, 2021
ccc1ac5
Update for the new substrate client API (#2570)
arkpar Mar 18, 2021
07674b0
Improve the logging (#2645)
bkchr Mar 18, 2021
6061fba
Don't accept incoming connections for collators (#2644)
eskimor Mar 19, 2021
86333c5
fix reconstruct fuzzer name
Mar 19, 2021
67e3cec
make script more robust
Mar 19, 2021
bc2155e
Merge branch 'master' into ao-ci-fuzzer-jobs
Mar 19, 2021
89cf1a6
Merge branch 'master' into ao-ci-fuzzer-jobs
Mar 19, 2021
9759cb6
REVERTME: test run
Mar 19, 2021
58375df
REVERTME: test run II
Mar 19, 2021
a5527ff
Revert "REVERTME: test run II"
Mar 19, 2021
a430eab
Revert "REVERTME: test run"
Mar 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
re benchmark (#2630)
* Change something

* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/

* cargo run --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/

* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/

* cargo run --release --features=runtime-benchmarks -- benchmark --chain=polkadot-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/polkadot/src/weights/

* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_staking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/

* cargo run --release --features=runtime-benchmarks -- benchmark --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_election_provider_multi_phase --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/

Co-authored-by: Parity Benchmarking Bot <[email protected]>
  • Loading branch information
2 people authored and Andronik Ordian committed Mar 19, 2021
commit 8661baffb4351410727f62948f32fa375fc03503
50 changes: 25 additions & 25 deletions runtime/kusama/src/weights/pallet_election_provider_multi_phase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for pallet_election_provider_multi_phase
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-02-24, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! DATE: 2021-03-17, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128

// Executed Command:
Expand Down Expand Up @@ -44,50 +44,50 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_election_provider_multi_phase::WeightInfo for WeightInfo<T> {
fn on_initialize_nothing() -> Weight {
(20_876_000 as Weight)
(21_515_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight))
}
fn on_initialize_open_signed() -> Weight {
(70_948_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight))
(101_434_000 as Weight)
.saturating_add(T::DbWeight::get().reads(8 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
fn on_initialize_open_unsigned_with_snapshot() -> Weight {
(70_229_000 as Weight)
.saturating_add(T::DbWeight::get().reads(7 as Weight))
(100_955_000 as Weight)
.saturating_add(T::DbWeight::get().reads(8 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
fn on_initialize_open_unsigned_without_snapshot() -> Weight {
(18_689_000 as Weight)
(19_083_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn elect_queued() -> Weight {
0
(7_220_386_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(6 as Weight))
}
fn submit_unsigned(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
fn submit_unsigned(v: u32, _t: u32, a: u32, d: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 21_000
.saturating_add((4_142_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 70_000
.saturating_add((246_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 21_000
.saturating_add((13_612_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 105_000
.saturating_add((4_637_000 as Weight).saturating_mul(d as Weight))
// Standard Error: 20_000
.saturating_add((3_844_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 20_000
.saturating_add((13_105_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 101_000
.saturating_add((4_703_000 as Weight).saturating_mul(d as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn feasibility_check(v: u32, t: u32, a: u32, d: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 12_000
.saturating_add((4_236_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 41_000
.saturating_add((716_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 12_000
.saturating_add((10_065_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 61_000
.saturating_add((4_384_000 as Weight).saturating_mul(d as Weight))
// Standard Error: 11_000
.saturating_add((4_001_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 37_000
.saturating_add((483_000 as Weight).saturating_mul(t as Weight))
// Standard Error: 11_000
.saturating_add((9_635_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 56_000
.saturating_add((4_585_000 as Weight).saturating_mul(d as Weight))
.saturating_add(T::DbWeight::get().reads(3 as Weight))
}
}
122 changes: 61 additions & 61 deletions runtime/kusama/src/weights/pallet_staking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
//! Autogenerated weights for pallet_staking
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 3.0.0
//! DATE: 2021-02-22, STEPS: [50, ], REPEAT: 20, LOW RANGE: [], HIGH RANGE: []
//! DATE: 2021-03-16, STEPS: `[50, ]`, REPEAT: 20, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 128

// Executed Command:
Expand Down Expand Up @@ -44,192 +44,192 @@ use sp_std::marker::PhantomData;
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
fn bond() -> Weight {
(76_355_000 as Weight)
(74_686_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
}
fn bond_extra() -> Weight {
(62_322_000 as Weight)
(60_196_000 as Weight)
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn unbond() -> Weight {
(56_996_000 as Weight)
(54_608_000 as Weight)
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn withdraw_unbonded_update(s: u32, ) -> Weight {
(57_447_000 as Weight)
(55_862_000 as Weight)
// Standard Error: 0
.saturating_add((35_000 as Weight).saturating_mul(s as Weight))
.saturating_add((31_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(5 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
(89_916_000 as Weight)
(87_499_000 as Weight)
// Standard Error: 1_000
.saturating_add((2_644_000 as Weight).saturating_mul(s as Weight))
.saturating_add((2_602_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
fn validate() -> Weight {
(18_943_000 as Weight)
(18_058_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn kick(k: u32, ) -> Weight {
(16_802_000 as Weight)
// Standard Error: 7_000
.saturating_add((18_457_000 as Weight).saturating_mul(k as Weight))
(16_488_000 as Weight)
// Standard Error: 10_000
.saturating_add((18_127_000 as Weight).saturating_mul(k as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(k as Weight)))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(k as Weight)))
}
fn nominate(n: u32, ) -> Weight {
(28_768_000 as Weight)
// Standard Error: 9_000
.saturating_add((5_744_000 as Weight).saturating_mul(n as Weight))
(27_809_000 as Weight)
// Standard Error: 13_000
.saturating_add((5_506_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn chill() -> Weight {
(18_235_000 as Weight)
(17_341_000 as Weight)
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn set_payee() -> Weight {
(12_369_000 as Weight)
(12_131_000 as Weight)
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_controller() -> Weight {
(27_200_000 as Weight)
(26_296_000 as Weight)
.saturating_add(T::DbWeight::get().reads(3 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn set_validator_count() -> Weight {
(2_134_000 as Weight)
(1_995_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn force_no_eras() -> Weight {
(2_466_000 as Weight)
(2_311_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn force_new_era() -> Weight {
(2_419_000 as Weight)
(2_271_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn force_new_era_always() -> Weight {
(2_433_000 as Weight)
(2_366_000 as Weight)
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn set_invulnerables(v: u32, ) -> Weight {
(2_425_000 as Weight)
(2_391_000 as Weight)
// Standard Error: 0
.saturating_add((35_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn force_unstake(s: u32, ) -> Weight {
(60_423_000 as Weight)
(58_957_000 as Weight)
// Standard Error: 1_000
.saturating_add((2_634_000 as Weight).saturating_mul(s as Weight))
.saturating_add((2_585_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
fn cancel_deferred_slash(s: u32, ) -> Weight {
(5_903_335_000 as Weight)
// Standard Error: 389_000
.saturating_add((34_608_000 as Weight).saturating_mul(s as Weight))
(5_925_666_000 as Weight)
// Standard Error: 391_000
.saturating_add((34_771_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
(121_563_000 as Weight)
// Standard Error: 12_000
.saturating_add((49_875_000 as Weight).saturating_mul(n as Weight))
(114_424_000 as Weight)
// Standard Error: 17_000
.saturating_add((49_957_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(11 as Weight))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(n as Weight)))
}
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
(147_113_000 as Weight)
// Standard Error: 17_000
.saturating_add((64_475_000 as Weight).saturating_mul(n as Weight))
(143_488_000 as Weight)
// Standard Error: 22_000
.saturating_add((63_654_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(12 as Weight))
.saturating_add(T::DbWeight::get().reads((5 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(n as Weight)))
}
fn rebond(l: u32, ) -> Weight {
(39_119_000 as Weight)
(38_310_000 as Weight)
// Standard Error: 1_000
.saturating_add((85_000 as Weight).saturating_mul(l as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(3 as Weight))
}
fn set_history_depth(e: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 69_000
.saturating_add((31_394_000 as Weight).saturating_mul(e as Weight))
// Standard Error: 66_000
.saturating_add((31_186_000 as Weight).saturating_mul(e as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().writes(4 as Weight))
.saturating_add(T::DbWeight::get().writes((7 as Weight).saturating_mul(e as Weight)))
}
fn reap_stash(s: u32, ) -> Weight {
(64_045_000 as Weight)
(62_505_000 as Weight)
// Standard Error: 0
.saturating_add((2_643_000 as Weight).saturating_mul(s as Weight))
.saturating_add((2_587_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(4 as Weight))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes((1 as Weight).saturating_mul(s as Weight)))
}
fn new_era(v: u32, n: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 669_000
.saturating_add((575_719_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 33_000
.saturating_add((81_012_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(7 as Weight))
// Standard Error: 810_000
.saturating_add((568_935_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 40_000
.saturating_add((79_855_000 as Weight).saturating_mul(n as Weight))
.saturating_add(T::DbWeight::get().reads(9 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight)))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight)))
.saturating_add(T::DbWeight::get().writes(8 as Weight))
.saturating_add(T::DbWeight::get().writes(13 as Weight))
.saturating_add(T::DbWeight::get().writes((3 as Weight).saturating_mul(v as Weight)))
}
fn submit_solution_better(v: u32, n: u32, a: u32, w: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 46_000
.saturating_add((712_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 18_000
.saturating_add((434_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 46_000
.saturating_add((72_940_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 97_000
.saturating_add((6_390_000 as Weight).saturating_mul(w as Weight))
// Standard Error: 53_000
.saturating_add((1_082_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 21_000
.saturating_add((408_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 53_000
.saturating_add((72_582_000 as Weight).saturating_mul(a as Weight))
// Standard Error: 110_000
.saturating_add((7_046_000 as Weight).saturating_mul(w as Weight))
.saturating_add(T::DbWeight::get().reads(6 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(a as Weight)))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(w as Weight)))
.saturating_add(T::DbWeight::get().writes(2 as Weight))
}
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 113_000
.saturating_add((26_614_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 113_000
.saturating_add((64_299_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 1_547_000
.saturating_add((20_092_000 as Weight).saturating_mul(s as Weight))
// Standard Error: 111_000
.saturating_add((26_174_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 111_000
.saturating_add((63_285_000 as Weight).saturating_mul(n as Weight))
// Standard Error: 1_523_000
.saturating_add((18_757_000 as Weight).saturating_mul(s as Weight))
.saturating_add(T::DbWeight::get().reads(2 as Weight))
.saturating_add(T::DbWeight::get().reads((4 as Weight).saturating_mul(v as Weight)))
.saturating_add(T::DbWeight::get().reads((3 as Weight).saturating_mul(n as Weight)))
}
fn get_npos_targets(v: u32, ) -> Weight {
(0 as Weight)
// Standard Error: 29_000
.saturating_add((10_228_000 as Weight).saturating_mul(v as Weight))
// Standard Error: 30_000
.saturating_add((9_982_000 as Weight).saturating_mul(v as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().reads((1 as Weight).saturating_mul(v as Weight)))
}
Expand Down
Loading