LCOV - code coverage report
Current view: top level - pageserver/src/tenant/timeline - compaction.rs (source / functions) Coverage Total Hit
Test: 42f947419473a288706e86ecdf7c2863d760d5d7.info Lines: 60.7 % 1695 1029
Test Date: 2024-08-02 21:34:27 Functions: 27.7 % 141 39

Function Name Sort by function name Hit count Sort by function hit count
<<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::AllValuesIter>::next::{closure#0}::{closure#0}::LOGGED::{closure#0} 0
<<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::AllValuesIter>::next::{closure#0}::{closure#0}::{closure#0} 0
<::compact_level0_phase1::{closure#0}::AllValuesIter>::next::{closure#0}::{closure#0}::{closure#0} 0
<::compact_level0_phase1::{closure#0}::AllValuesIter>::next::{closure#0}::{closure#0}::{closure#10} 0
<::compact_level0_phase1::{closure#0}::AllValuesIter>::next::{closure#0}::{closure#0}::{closure#2} 0
<::compact_level0_phase1::{closure#0}::AllValuesIter>::next::{closure#0}::{closure#0}::{closure#4} 0
<::compact_level0_phase1::{closure#0}::AllValuesIter>::next::{closure#0}::{closure#0}::{closure#6} 0
<::compact_level0_phase1::{closure#0}::AllValuesIter>::next::{closure#0}::{closure#0}::{closure#8} 0
<<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::compaction::CompactL0BypassPageCacheValidation as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64:: 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::> 0
<<pageserver::tenant::timeline::compaction::CompactL0Phase1ValueAccess as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64:: 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<&mut serde::de::value::MapDeserializer, serde::__private::de::content::visit_content_map<::deserialize::__Visitor, toml_edit::de::Error>::{closure#0}>, toml_edit::de::Error>> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<&mut serde::de::value::SeqDeserializer, >::new>, toml_edit::de::Error>> 0
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#14} 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>::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::Timeline>::compact_with_gc 18
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0} 18
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::{closure#0} 18
<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::{closure#0}::{closure#1} 72
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::flush_deltas::{closure#0}::{closure#0} 78
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::{closure#4} 106
<pageserver::tenant::timeline::compaction::CompactL0Phase1ValueAccess as core::default::Default>::default 202
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::flush_deltas 302
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::flush_deltas::{closure#0} 302
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::get_ancestor_image 302
<pageserver::tenant::timeline::Timeline>::compact_with_gc::{closure#0}::get_ancestor_image::{closure#0} 302
<pageserver::tenant::timeline::compaction::KeyHistoryRetention>::pipe_to 302
<pageserver::tenant::timeline::compaction::KeyHistoryRetention>::pipe_to::{closure#0} 302
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#7} 308
<pageserver::tenant::timeline::Timeline>::generate_key_retention 310
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0} 310
<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#9} 402
<pageserver::tenant::timeline::Timeline>::generate_key_retention::{closure#0}::{closure#0} 440
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#1} 748
<pageserver::tenant::timeline::Timeline>::update_layer_visibility 1056
::update_layer_visibility 528
::update_layer_visibility::{closure#0} 528
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#0} 1616
<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}::AllValuesIter>::next 2064066
<<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::AllValuesIter>::next::{closure#0} 2064066
<<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::AllValuesIter>::next::{closure#0}::{closure#0} 2064066
<<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::AllValuesIter>::next_all_keys_iter 2064066
<<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::AllValuesIter>::next_all_keys_iter::{closure#0} 2064066
<pageserver::tenant::timeline::Timeline>::compact_level0_phase1::{closure#0}::{closure#2} 4431788

Generated by: LCOV version 2.1-beta