Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
primitives: Add inclusion proof benchmarks.
BenchmarkGenerateInclusionProof ------------------------------- 64_leaves 31101 38577 ns/op 2240 B/op 2 allocs/op 128_leaves 15512 77140 ns/op 4320 B/op 2 allocs/op 256_leaves 7999 155127 ns/op 8448 B/op 2 allocs/op 2048_leaves 975 1237867 ns/op 65888 B/op 2 allocs/op BenchmarkVerifyInclusionProof ----------------------------- 64_leaves 333319 3999 ns/op 0 B/op 0 allocs/op 128_leaves 287670 4187 ns/op 0 B/op 0 allocs/op 256_leaves 249007 4841 ns/op 0 B/op 0 allocs/op 2048_leaves 181994 6683 ns/op 0 B/op 0 allocs/op
- Loading branch information