Add baseline benchmark for sr25519 verification (#10414)

* Add baseline benchmark for sr25519 verification

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_benchmarking --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/benchmarking/src/weights.rs --template=./.maintain/frame-weight-template.hbs

* Register keystore for correct test externalities

* Update frame/benchmarking/src/baseline.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* fix build

Co-authored-by: Parity Bot <admin@parity.io>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
Zeke Mostov
2021-12-06 13:31:16 -08:00
committed by GitHub
parent b5b3e827ab
commit e65caa56d4
4 changed files with 77 additions and 22 deletions
+2
View File
@@ -1958,7 +1958,9 @@ dependencies = [
"paste 1.0.6",
"scale-info",
"sp-api",
"sp-application-crypto",
"sp-io",
"sp-keystore",
"sp-runtime",
"sp-runtime-interface",
"sp-std",