Benchmarks for elections-phragmen pallet (#5845)
* Fist benchmark barely working * Debug checkpoint * add rest of benchmarks * Add to runtime * Fix build * Update frame/elections-phragmen/src/benchmarking.rs Co-authored-by:Shawn Tabrizi <shawntabrizi@gmail.com> * Update frame/elections-phragmen/src/benchmarking.rs Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com> * major imp * Make them run on release * Help finish phragmen benchmarks (#5886) * update caller, account, and member/runner-up creation * remove stuff * ocd * make it work with real run * relax the numbers a bit * New and improved version * Make elections-phragmen weighable and secure. (#5949) * Make elections-phragmen weighable. * Update frame/elections-phragmen/src/lib.rs Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Update frame/elections-phragmen/src/lib.rs Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Fix all tests * Fix everything * Add note Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Doc update * Fix some complexity params * Once more ready to benchmark * ready for bench * final tunes * Update frame/elections-phragmen/src/lib.rs * Fix fix * Update frame/elections-phragmen/src/lib.rs * Update frame/elections-phragmen/src/benchmarking.rs Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Update frame/elections-phragmen/src/benchmarking.rs Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io> * Update to latest weights * Some fixes * Fix dual voter read from @thiolliere * Remove todos * review from @shawntabrizi * Fix bench tests. Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by:
Alexander Popiak <alexander.popiak@parity.io>
parent
5f3e376c
Showing
- substrate/Cargo.lock 1 addition, 1 deletionsubstrate/Cargo.lock
- substrate/bin/node/runtime/src/lib.rs 1 addition, 0 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/benchmarking/src/lib.rs 4 additions, 0 deletionssubstrate/frame/benchmarking/src/lib.rs
- substrate/frame/elections-phragmen/Cargo.toml 6 additions, 2 deletionssubstrate/frame/elections-phragmen/Cargo.toml
- substrate/frame/elections-phragmen/src/benchmarking.rs 600 additions, 0 deletionssubstrate/frame/elections-phragmen/src/benchmarking.rs
- substrate/frame/elections-phragmen/src/lib.rs 852 additions, 466 deletionssubstrate/frame/elections-phragmen/src/lib.rs
- substrate/frame/support/src/lib.rs 14 additions, 1 deletionsubstrate/frame/support/src/lib.rs
- substrate/frame/timestamp/src/benchmarking.rs 2 additions, 0 deletionssubstrate/frame/timestamp/src/benchmarking.rs
- substrate/primitives/runtime/src/lib.rs 11 additions, 11 deletionssubstrate/primitives/runtime/src/lib.rs
Please register or sign in to comment