mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
16 lines
313 B
Markdown
16 lines
313 B
Markdown
# 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
|
||
```
|