rust-lightning/bench
Matt Corallo dedc8306f6 Bump hashbrown dependency to 0.13
While this isn't expected to materially improve performance, it
does get us ahash 0.8, which allows us to reduce fuzzing
randomness, making our fuzzers much happier.

Sadly, by default `ahash` no longer tries to autodetect a
randomness source, so we cannot simply rely on `hashbrown` to do
randomization for us, but rather have to also explicitly depend on
`ahash`.
2024-02-02 18:05:08 +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 hashbrown dependency to 0.13 2024-02-02 18:05:08 +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.