Benchmarks Writer CLI (#6567)
* initial mockup * add and wipe * track writes * start to add to pipeline * return all reads/writes * Log reads and writes from bench db * causes panic * Allow multiple commits * commit before ending benchmark * doesn't work??? * fix * Update lib.rs * switch to struct for `BenchmarkResults` * add to output * fix test * line width * @Kianenigma review * Add Whitelist to DB Tracking in Benchmarks Pipeline (#6405) * hardcoded whitelist * Add whitelist to pipeline * Remove whitelist pipeline from CLI, add to runtime * clean-up unused db initialized whitelist * Add regression analysis to DB Tracking (#6475) * Add selector * add tests * debug formatter for easy formula * initial idea * use all benchmarks * broken * working without trait * Make work for multiple pallets * Fix merge issues * writer appends to file * implement () for balances weight trait * update name of trait * Weights to WeightInfo * auto trait writer * Heap pages are configurable * clean out runtime changes * more clean up * Fix string generation * Update comments * Update bin/node/runtime/src/lib.rs Co-authored-by:arkpar <arkady.paronyan@gmail.com>
Showing
- substrate/Cargo.lock 1 addition, 0 deletionssubstrate/Cargo.lock
- substrate/bin/node/runtime/src/lib.rs 19 additions, 20 deletionssubstrate/bin/node/runtime/src/lib.rs
- substrate/frame/benchmarking/src/analysis.rs 5 additions, 5 deletionssubstrate/frame/benchmarking/src/analysis.rs
- substrate/frame/benchmarking/src/lib.rs 25 additions, 10 deletionssubstrate/frame/benchmarking/src/lib.rs
- substrate/utils/frame/benchmarking-cli/Cargo.toml 1 addition, 0 deletionssubstrate/utils/frame/benchmarking-cli/Cargo.toml
- substrate/utils/frame/benchmarking-cli/src/command.rs 11 additions, 1 deletionsubstrate/utils/frame/benchmarking-cli/src/command.rs
- substrate/utils/frame/benchmarking-cli/src/lib.rs 13 additions, 0 deletionssubstrate/utils/frame/benchmarking-cli/src/lib.rs
- substrate/utils/frame/benchmarking-cli/src/writer.rs 191 additions, 0 deletionssubstrate/utils/frame/benchmarking-cli/src/writer.rs
Please register or sign in to comment