f4d14e271f
* WIP * wip * Benchmarks for block verification Uses real blocks from mainnet to benchmark the `verify_*` family of methods in the `verification` module. Also exposes the `TestBlockChain` in a test helper. * Cleanup, fix CI * Bash syntax error * One more try * Fix review grumbles Revert unwanted changes Tweak CI benchmark checks
48 lines
1.4 KiB
TOML
48 lines
1.4 KiB
TOML
[package]
|
|
description = "Block verification utilities."
|
|
name = "verification"
|
|
version = "0.1.0"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
edition = "2018"
|
|
license = "GPL-3.0"
|
|
|
|
[[bench]]
|
|
name = "verification"
|
|
harness = false
|
|
|
|
[dependencies]
|
|
blockchain = { package = "ethcore-blockchain", path = "../blockchain" }
|
|
call-contract = { package = "ethcore-call-contract", path = "../call-contract" }
|
|
client-traits = { path = "../client-traits" }
|
|
common-types = { path = "../types" }
|
|
engine = { path = "../engine" }
|
|
ethcore-io = { path = "../../util/io" }
|
|
ethereum-types = "0.6.0"
|
|
keccak-hash = "0.2.0"
|
|
len-caching-lock = { path = "../../util/len-caching-lock" }
|
|
log = "0.4"
|
|
num_cpus = "1.2"
|
|
parity-bytes = "0.1.0"
|
|
parity-util-mem = "0.2.0"
|
|
parking_lot = "0.8.0"
|
|
rlp = "0.4.2"
|
|
time-utils = { path = "../../util/time-utils" }
|
|
triehash = { package = "triehash-ethereum", version = "0.2", path = "../../util/triehash-ethereum" }
|
|
unexpected = { path = "../../util/unexpected" }
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.3"
|
|
ethcore = { path = "../", features = ["test-helpers"] }
|
|
ethkey = { path = "../../accounts/ethkey" }
|
|
machine = { path = "../machine" }
|
|
null-engine = { path = "../engines/null-engine" }
|
|
spec = { path = "../spec" }
|
|
|
|
# Benches
|
|
ethash = { package = "ethash-engine", path = "../engines/ethash" }
|
|
tempdir = "0.3.7"
|
|
|
|
[features]
|
|
# Used to selectively expose code for benchmarks.
|
|
bench = []
|