Files
reth/crates/db/benches/README.md
joshieDo 630baf5d70 feat(db): fuzzing & benchmark (#86)
* fuzz with test-fuzz

* move fuzzing to db/codecs

* add criterion & iai

* print encoded size sum on criterion benchmark

* fix BlockNumHash encode

* add gh action for benchmarks

* don't sum results

* test ci values

* Revert "test ci values"

This reverts commit cc47fd8053.

* specify criterion version

* add docs

* remove benchmark job
2022-10-19 13:08:07 -07:00

313 B
Raw Blame History

DB Benchmarks

Codecs

Currently only benchmarking the encoding/decoding of Header. It can be benchmarked with two different codecs at the moment main/scale and postcard:

Main/Scale:

$ cargo bench --features bench

Postcard:

$ cargo bench --features bench-postcard