Add a benchmark for decaying a 100k channel scorer's liquidity info
authorMatt Corallo <git@bluematt.me>
Mon, 9 Oct 2023 03:23:55 +0000 (03:23 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Dec 2023 23:26:09 +0000 (23:26 +0000)
commit40b4094e878413aa16e656462554c3ffc30918a2
treed9720091fc068056300b8243d76ae5e558a27c52
parent512f44cf15b70412d0023fad8cfa39260536c0fe
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.
bench/benches/bench.rs
lightning/src/routing/scoring.rs