rust-lightning/bench
Elias Rohrer cc1b505b30
Migrate to KVStore/FilesystemStore
Firstly, we switch our BP over to use `FilesystemStore`, which also gives us test
coverage and ensures the compatibility.

Then, we remove the superseded `KVStorePersister` trait and
the `FilesystemPersister` code.
2023-09-07 22:49:22 +02:00
..
benches Migrate to KVStore/FilesystemStore 2023-09-07 22:49:22 +02:00
Cargo.toml Replace std's unmaintained bench with criterion 2023-05-11 06:11:49 +00:00
README.md Add trivial README to bench to describe how to run them. 2023-05-11 06:11:51 +00:00

This crate uses criterion to benchmark various LDK functions.

It can be run as RUSTFLAGS=--cfg=ldk_bench cargo bench.

For routing or other HashMap-bottlenecked functions, the hashbrown feature should also be benchmarked.