]> git.bitcoin.ninja Git - rust-lightning/commit
Update the lightning graph snapshot used in benchmarks
authorMatt Corallo <git@bluematt.me>
Thu, 19 Jan 2023 04:41:02 +0000 (04:41 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 19 Jan 2023 05:06:29 +0000 (05:06 +0000)
commit608c8adfd575ffb26d4485ebd74f42aabc64c6ad
tree6e71c8593d52b9e32bd8effc5cb904c3c2b5d0e9
parent153b04833201d1de59104ed2671fafeb2b8ad509
Update the lightning graph snapshot used in benchmarks

The previous copy was more than one and a half years old, the
lightning network has changed a lot since!

As of this commit, performance on my Xeon W-10885M with a
SK hynix Gold P31 storing a BTRFS volume is as follows:

```
test ln::channelmanager::bench::bench_sends                                  ... bench:   5,896,492 ns/iter (+/- 512,421)
test routing::gossip::benches::read_network_graph                            ... bench: 1,645,740,604 ns/iter (+/- 47,611,514)
test routing::gossip::benches::write_network_graph                           ... bench: 234,870,775 ns/iter (+/- 8,301,775)
test routing::router::benches::generate_mpp_routes_with_probabilistic_scorer ... bench: 166,155,032 ns/iter (+/- 30,206,162)
test routing::router::benches::generate_mpp_routes_with_zero_penalty_scorer  ... bench: 136,843,661 ns/iter (+/- 67,111,218)
test routing::router::benches::generate_routes_with_probabilistic_scorer     ... bench:  52,954,598 ns/iter (+/- 11,360,547)
test routing::router::benches::generate_routes_with_zero_penalty_scorer      ... bench:  37,598,126 ns/iter (+/- 17,262,519)
test bench::bench_sends                                                      ... bench:  37,760,922 ns/iter (+/- 5,179,123)
test bench::bench_reading_full_graph_from_file                               ... bench:      25,615 ns/iter (+/- 1,149)
```
.github/workflows/build.yml
lightning/src/routing/router.rs