1 extern crate lightning;
2 extern crate lightning_persister;
4 extern crate criterion;
6 use criterion::{criterion_group, criterion_main};
8 criterion_group!(benches,
9 // Note that benches run in the order given here. Thus, they're sorted according to how likely
10 // developers are to be working on the specific code listed, then by runtime.
11 lightning::routing::router::benches::generate_routes_with_zero_penalty_scorer,
12 lightning::routing::router::benches::generate_mpp_routes_with_zero_penalty_scorer,
13 lightning::routing::router::benches::generate_routes_with_probabilistic_scorer,
14 lightning::routing::router::benches::generate_mpp_routes_with_probabilistic_scorer,
15 lightning::routing::router::benches::generate_large_mpp_routes_with_probabilistic_scorer,
16 lightning::routing::router::benches::generate_routes_with_nonlinear_probabilistic_scorer,
17 lightning::routing::router::benches::generate_mpp_routes_with_nonlinear_probabilistic_scorer,
18 lightning::routing::router::benches::generate_large_mpp_routes_with_nonlinear_probabilistic_scorer,
19 lightning::sign::benches::bench_get_secure_random_bytes,
20 lightning::ln::channelmanager::bench::bench_sends,
21 lightning_persister::fs_store::bench::bench_sends,
22 lightning_rapid_gossip_sync::bench::bench_reading_full_graph_from_file,
23 lightning::routing::gossip::benches::read_network_graph,
24 lightning::routing::gossip::benches::write_network_graph,
25 lightning::routing::scoring::benches::decay_100k_channel_bounds);
26 criterion_main!(benches);