]> git.bitcoin.ninja Git - rust-lightning/commit
Remove duplicate generate_routes benchmark code
authorJeffrey Czyz <jkczyz@gmail.com>
Fri, 14 Jan 2022 18:28:30 +0000 (12:28 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 25 Jan 2022 00:52:36 +0000 (18:52 -0600)
commit06053fc21c11be9c7a285e4252f2bfdb1f4e86c6
treedb09a7beab6bb6114e06b53d058ff3d0dc3eb4e7
parent35d4ebb208255724804187e3f10553c9383c9522
Remove duplicate generate_routes benchmark code

Refactor generate_routes and generate_mpp_routes into a single utility
for benchmarking. The utility is parameterized with features in order to
test both single path and multi-path routing. Additionally, it is
parameterized with a Score to be used with other scorers.
lightning/src/routing/router.rs