Tree hash benches (#486)

* Add initial tree hash benches

* Add tree hash example

* Use lazy static in tree hash benches
This commit is contained in:
Paul Hauner
2019-08-05 18:06:50 +10:00
committed by GitHub
parent 65c18ddc60
commit 4f45bf2255
3 changed files with 97 additions and 0 deletions

View File

@@ -4,9 +4,15 @@ version = "0.1.0"
authors = ["Paul Hauner <paul@paulhauner.com>"]
edition = "2018"
[[bench]]
name = "benches"
harness = false
[dev-dependencies]
criterion = "0.2"
rand = "0.7"
tree_hash_derive = { path = "../tree_hash_derive" }
types = { path = "../../types" }
[dependencies]
ethereum-types = "0.5"