LCOV - code coverage report
Current view: top level - pageserver/src/tenant/timeline - compaction.rs (source / functions) Coverage Total Hit
Test: 249f165943bd2c492f96a3f7d250276e4addca1a.info Lines: 62.5 % 1847 1155
Test Date: 2024-11-20 18:39:52 Functions: 43.4 % 136 59

Function Name Sort by function name Hit count Sort by function hit count
<<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::Hole as core::cmp::Ord>::cmp 0
<<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::Hole as core::cmp::PartialOrd>::partial_cmp 0
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#16} 0
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#3} 0
<pageserver::tenant::timeline::Timeline>::compact_shard_ancestors 0
<pageserver::tenant::timeline::Timeline>::compact_shard_ancestors::{closure#0} 0
<pageserver::tenant::timeline::Timeline>::compact_tiered 0
<pageserver::tenant::timeline::Timeline>::compact_tiered::{closure#0} 0
<pageserver::tenant::timeline::Timeline>::compact_tiered::{closure#0}::{closure#0} 0
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::{closure#0} 0
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::generate_debug_trace 0
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::generate_debug_trace::{closure#0} 0
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::generate_history_trace 0
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::{closure#1} 0
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::{closure#2} 0
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::{closure#3} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#0} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#10} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#11} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#12} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#1} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#2} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#3} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#4} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#5} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#6} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#7} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#8} 0
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from::{closure#9} 0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::delta_layer::DeltaLayer> as core::ops::deref::Deref>::deref 0
as core::ops::deref::Deref>::deref 0
as core::ops::deref::Deref>::deref 0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::delta_layer::DeltaLayer> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::file_size 0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::delta_layer::DeltaLayer> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::is_delta 0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::delta_layer::DeltaLayer> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::key_range 0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::delta_layer::DeltaLayer> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::lsn_range 0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::delta_layer::DeltaLayer> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::short_id 0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc> as core::convert::AsRef<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc>>::as_ref 0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::file_size 0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::is_delta 0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::key_range 0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::lsn_range 0
<pageserver::tenant::timeline::compaction::OwnArc<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc> as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::short_id 0
<pageserver::tenant::timeline::compaction::ResidentDeltaLayer as pageserver_compaction::interface::CompactionDeltaLayer<pageserver::tenant::timeline::compaction::TimelineAdaptor>>::load_keys 0
>::load_keys 0
>::load_keys::{closure#0} 0
<pageserver::tenant::timeline::compaction::ResidentDeltaLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::file_size 0
<pageserver::tenant::timeline::compaction::ResidentDeltaLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::is_delta 0
<pageserver::tenant::timeline::compaction::ResidentDeltaLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::key_range 0
<pageserver::tenant::timeline::compaction::ResidentDeltaLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::lsn_range 0
<pageserver::tenant::timeline::compaction::ResidentDeltaLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::short_id 0
<pageserver::tenant::timeline::compaction::ResidentImageLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::file_size 0
<pageserver::tenant::timeline::compaction::ResidentImageLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::is_delta 0
<pageserver::tenant::timeline::compaction::ResidentImageLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::key_range 0
<pageserver::tenant::timeline::compaction::ResidentImageLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::lsn_range 0
<pageserver::tenant::timeline::compaction::ResidentImageLayer as pageserver_compaction::interface::CompactionLayer<pageserver_api::key::Key>>::short_id 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::create_delta 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::create_delta::{closure#0} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::create_delta::{closure#0}::{closure#0} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::create_delta::{closure#0}::{closure#3} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::create_image 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::create_image::{closure#0} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::delete_layer 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::delete_layer::{closure#0} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::downcast_delta_layer 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::downcast_delta_layer::{closure#0} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::get_keyspace 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::get_keyspace::{closure#0} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::get_layers 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::get_layers::{closure#0} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::get_layers::{closure#0}::{closure#0} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor as pageserver_compaction::interface::CompactionJobExecutor>::get_shard_identity 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor>::create_image_impl 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor>::create_image_impl::{closure#0} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor>::create_image_impl::{closure#0}::{closure#0} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor>::flush_updates 0
::flush_updates 0
::flush_updates::{closure#0} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor>::flush_updates::{closure#0}::{closure#0} 0
<pageserver::tenant::timeline::compaction::TimelineAdaptor>::new 0
<pageserver::tenant::timeline::compaction::CompactionStatistics>::discard_image_layer 8
<pageserver::tenant::timeline::compaction::CompactionStatistics>::discard_delta_layer 12
<pageserver::tenant::timeline::compaction::CompactionStatistics>::produce_delta_layer 12
<pageserver::tenant::timeline::compaction::CompactionStatistics>::produce_image_layer 26
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#8} 28
<pageserver::tenant::timeline::compaction::CompactLevel0Phase1Stats as core::convert::TryFrom<pageserver::tenant::timeline::compaction::CompactLevel0Phase1StatsBuilder>>::try_from 28
<pageserver::tenant::timeline::Timeline>::compact_with_gc 30
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0} 30
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::{closure#1} 30
<pageserver::tenant::timeline::Timeline>::check_compaction_space 40
<pageserver::tenant::timeline::Timeline>::check_compaction_space::{closure#0} 40
<pageserver::tenant::timeline::Timeline>::partial_compact_with_gc 40
<pageserver::tenant::timeline::Timeline>::partial_compact_with_gc::{closure#0} 40
<pageserver::tenant::timeline::Timeline>::partial_compact_with_gc::{closure#0}::{closure#0} 40
<pageserver::tenant::timeline::Timeline>::partial_compact_with_gc::{closure#0}::{closure#5} 58
<pageserver::tenant::timeline::Timeline>::partial_compact_with_gc::{closure#0}::{closure#5}::{closure#0} 58
<pageserver::tenant::timeline::compaction::CompactionStatistics>::visit_image_layer 58
<pageserver::tenant::timeline::compaction::CompactionStatistics>::visit_delta_layer 62
<pageserver::tenant::timeline::Timeline>::check_available_space 80
::check_available_space 40
::check_available_space::{closure#0} 40
<pageserver::tenant::timeline::compaction::KeyHistoryRetention>::discard_key 116
::discard_key 58
::discard_key::{closure#0} 58
<pageserver::tenant::timeline::Timeline>::partial_compact_with_gc::{closure#0}::{closure#3} 120
<pageserver::tenant::timeline::Timeline>::partial_compact_with_gc::{closure#0}::{closure#4} 120
<pageserver::tenant::timeline::Timeline>::partial_compact_with_gc::{closure#0}::{closure#6} 120
<pageserver::tenant::timeline::compaction::CompactionStatistics>::produce_wal_key 128
<pageserver::tenant::timeline::compaction::CompactionStatistics>::produce_key 138
<pageserver::tenant::timeline::Timeline>::partial_compact_with_gc::{closure#0}::{closure#2} 150
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::{closure#4} 166
<pageserver::tenant::timeline::compaction::CompactionStatistics>::visit_wal_key 176
<pageserver::tenant::timeline::Timeline>::partial_compact_with_gc::{closure#0}::{closure#1} 182
<pageserver::tenant::timeline::Timeline>::update_layer_visibility 198
<pageserver::tenant::timeline::Timeline>::update_layer_visibility::{closure#0} 198
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#7} 308
<pageserver::tenant::timeline::Timeline>::compact_legacy 364
<pageserver::tenant::timeline::Timeline>::compact_legacy::{closure#0} 364
<pageserver::tenant::timeline::Timeline>::compact_level0 364
<pageserver::tenant::timeline::Timeline>::compact_level0::{closure#0} 364
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1 364
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0} 364
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#0} 402
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#9} 402
<pageserver::tenant::timeline::compaction::CompactionStatistics>::produce_image_key 526
<pageserver::tenant::timeline::Timeline>::partial_compact_with_gc::{closure#0}::get_ancestor_image 530
<pageserver::tenant::timeline::Timeline>::partial_compact_with_gc::{closure#0}::get_ancestor_image::{closure#0} 530
<pageserver::tenant::timeline::compaction::CompactionStatistics>::on_unique_key_visited 530
<pageserver::tenant::timeline::compaction::KeyHistoryRetention>::pipe_to 530
<pageserver::tenant::timeline::compaction::KeyHistoryRetention>::pipe_to::{closure#0} 530
<pageserver::tenant::timeline::Timeline>::generate_key_retention 538
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0} 538
<pageserver::tenant::timeline::compaction::CompactionStatistics>::visit_image_key 542
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#1} 748
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::{closure#0} 768
<pageserver::tenant::timeline::compaction::CompactionStatistics>::estimated_size_of_value 846
<pageserver::tenant::timeline::compaction::CompactionStatistics>::estimated_size_of_key 1372
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#5} 2064010
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#6} 2064010
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#4} 2064038
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#2} 4423774

Generated by: LCOV version 2.1-beta