Files
nanoreth/crates/storage/db/benches/README.md
2022-12-09 23:14:07 -08:00

16 lines
313 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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:
```bash
$ cargo bench --features bench
```
### Postcard:
```bash
$ cargo bench --features bench-postcard
```