Full block import benchmark (#4865)

* full block import benchmark

* try rocksdb cache

* add profiling helper

* use random keyring instead of zero caching

* update docs

* add more io stats

* remove last sentence

* add ci job to see

* Update primitives/keyring/src/sr25519.rs

Co-Authored-By: Marcio Diaz <marcio.diaz@gmail.com>

* switch to 100tx-block

* remove ci script

Co-authored-by: Marcio Diaz <marcio@parity.io>
This commit is contained in:
Nikolay Volf
2020-02-13 14:09:00 +03:00
committed by GitHub
parent 96862f835b
commit e6454eb091
10 changed files with 593 additions and 13 deletions
+31
View File
@@ -1578,6 +1578,12 @@ dependencies = [
"winapi 0.3.8",
]
[[package]]
name = "fs_extra"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f2a4a2034423744d2cc7ca2068453168dcdb82c438419e639a26bd87839c674"
[[package]]
name = "fuchsia-cprng"
version = "0.1.1"
@@ -3602,8 +3608,12 @@ dependencies = [
name = "node-testing"
version = "2.0.0"
dependencies = [
"criterion 0.3.1",
"frame-support",
"frame-system",
"fs_extra",
"hex-literal",
"log 0.4.8",
"node-executor",
"node-primitives",
"node-runtime",
@@ -3618,13 +3628,24 @@ dependencies = [
"pallet-transaction-payment",
"pallet-treasury",
"parity-scale-codec",
"sc-cli",
"sc-client",
"sc-client-api",
"sc-client-db",
"sc-executor",
"sp-api",
"sp-block-builder",
"sp-blockchain",
"sp-consensus",
"sp-core",
"sp-finality-tracker",
"sp-inherents",
"sp-io",
"sp-keyring",
"sp-runtime",
"sp-timestamp",
"substrate-test-client",
"tempdir",
"wabt",
]
@@ -7715,6 +7736,16 @@ version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c63f48baada5c52e65a29eef93ab4f8982681b67f9e8d29c7b05abcfec2b9ffe"
[[package]]
name = "tempdir"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8"
dependencies = [
"rand 0.4.6",
"remove_dir_all",
]
[[package]]
name = "tempfile"
version = "3.1.0"