solana/core/benches
behzad nouri 37c8842bcb
scans crds table in parallel for finding old labels (#13073)
From runtime profiles, the majority time of ClusterInfo::handle_purge
https://github.com/solana-labs/solana/blob/0776fa05c/core/src/cluster_info.rs#L1605-L1626
is spent scanning crds table finding old labels:
https://github.com/solana-labs/solana/blob/0776fa05c/core/src/crds.rs#L175-L197

This can be done in parallel given that gossip thread-pool:
https://github.com/solana-labs/solana/blob/0776fa05c/core/src/cluster_info.rs#L1637-L1641
is idle when handle_purge is invoked:
https://github.com/solana-labs/solana/blob/0776fa05c/core/src/cluster_info.rs#L1681
2020-10-23 14:17:37 +00:00
..
banking_stage.rs Remove unused pubkey::Pubkey imports 2020-10-21 19:08:13 -07:00
blockstore.rs Clippy cleanup for all targets and nighly rust (also support 1.44.0) (#10445) 2020-06-09 09:38:14 +09:00
cluster_info.rs Remove unused pubkey::Pubkey imports 2020-10-21 19:08:13 -07:00
consensus.rs Persistent tower (#10718) 2020-09-19 14:03:54 +09:00
crds.rs scans crds table in parallel for finding old labels (#13073) 2020-10-23 14:17:37 +00:00
crds_gossip_pull.rs Remove unused pubkey::Pubkey imports 2020-10-21 19:08:13 -07:00
crds_shards.rs Remove unused pubkey::Pubkey imports 2020-10-21 19:08:13 -07:00
gen_keys.rs
poh.rs
poh_verify.rs Simd poh (#10604) 2020-06-16 23:03:26 -07:00
retransmit_stage.rs Remove unused pubkey::Pubkey imports 2020-10-21 19:08:13 -07:00
shredder.rs Bench RaptorQ (#10886) 2020-07-02 18:31:32 -07:00
sigverify_stage.rs Clippy cleanup for all targets and nighly rust (also support 1.44.0) (#10445) 2020-06-09 09:38:14 +09:00