Add a trivial benchmark of calculating routes on today's graph
authorMatt Corallo <git@bluematt.me>
Mon, 15 Feb 2021 21:49:02 +0000 (16:49 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 15 Feb 2021 21:51:51 +0000 (16:51 -0500)
commit2ae6b3fad46af9d0c7a645d70e7adfd0ea2e5c4d
treef85f6a8e6578c415be98520ff9fb7ac0487f338e
parent35bb2d00850f7295050bb8de6e4dda770817a33f
Add a trivial benchmark of calculating routes on today's graph

Sadly rust upstream never really figured out the benchmark story,
and it looks like the API we use here may not be long for this
world. Luckily, we can switch to criterion with largely the same
API if that happens before upstream finishes ongoing work with the
custom test framework stuff.

Sadly, it requires fetching the current network graph, which I did
using Val's route-testing script written to test the MPP router.
lightning/Cargo.toml
lightning/src/lib.rs
lightning/src/routing/router.rs