rust-lightning/bench
Matt Corallo 40b4094e87 Add a benchmark for decaying a 100k channel scorer's liquidity info
This is a good gut-check to ensure we don't end up taking a ton of
time decaying channel liquidity info.

It currently clocks in around 1.25ms on an i7-1360P.
2023-12-13 23:26:09 +00:00
..
benches Add a benchmark for decaying a 100k channel scorer's liquidity info 2023-12-13 23:26:09 +00:00
Cargo.toml Bump MSRV to rustc 1.63.0 and edition to 2021 2023-12-08 14:03:45 +01: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.