Shawn Tabrizi
|
13be04e0a7
|
Constant Weight Signature in Benchmarking CLI (#7233)
* Don't remove unused components
* add more metadata to generated file
* unused code
* proposed format
* Revert "proposed format"
This reverts commit ce522c3480157ab6670bcbd9b17e1398168cabf4.
* Update weight signatures and unused components in benchmarks
* Keep timestamp constant time
* remove component from as_derivative
|
2020-10-17 12:35:15 +00:00 |
|
Shawn Tabrizi
|
4e5f9fb72b
|
More Improvements to Benchmarking CLI + Generic WeightInfo (#7168)
* Generic WeightInfo, Output File Path
* Make `WeightInfo` generic
* Add support for header file
* fix line width
* add `--spaces` flag
* Configurable trait and struct strings
* make elections phragmen generic
* Add date to generated file
* Apply suggestions from code review
Co-authored-by: Gavin Wood <gavin@parity.io>
* fixes
* add settings metadata to output
Co-authored-by: nikvolf <nikvolf@gmail.com>
Co-authored-by: Gavin Wood <gavin@parity.io>
|
2020-09-23 13:56:30 +00:00 |
|
Shawn Tabrizi
|
74a583d147
|
WeightInfo for System, Timestamp, and Utility (#6868)
* initial updates to system
* fix compile
* Update writer.rs
* update weights
* finish system weights
* timestamp weights
* utility weight
* Fix overflow in weight calculations
* add back weight notes
* Update for whitelisted benchmarks
* add trait bounds
* Revert "add trait bounds"
This reverts commit 12b08b7189aa3969f96fa19b211a370860fdb240.
* Update weights for unaccounted for read
|
2020-08-17 20:59:23 +00:00 |
|