LCOV - code coverage report
Current view: top level - pageserver/src/tenant/timeline - layer_manager.rs (source / functions) Coverage Total Hit
Test: 52d9d4a58355424a48c56cb9ba9670a073f618b9.info Lines: 77.3 % 304 235
Test Date: 2024-11-21 08:31:22 Functions: 80.6 % 36 29

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::timeline::layer_manager::LayerFileManager<pageserver::tenant::storage_layer::layer::Layer> as core::default::Default>::default 418
<pageserver::tenant::timeline::layer_manager::LayerFileManager<pageserver::tenant::storage_layer::layer::Layer>>::insert 1672
<pageserver::tenant::timeline::layer_manager::LayerFileManager<pageserver::tenant::storage_layer::layer::Layer>>::remove 486
<pageserver::tenant::timeline::layer_manager::LayerManager as core::default::Default>::default 418
<pageserver::tenant::timeline::layer_manager::LayerManager>::all_persistent_layers 0
<pageserver::tenant::timeline::layer_manager::LayerManager>::contains 308
<pageserver::tenant::timeline::layer_manager::LayerManager>::contains_key 394
<pageserver::tenant::timeline::layer_manager::LayerManager>::get_from_desc 242106
<pageserver::tenant::timeline::layer_manager::LayerManager>::get_from_key 242126
<pageserver::tenant::timeline::layer_manager::LayerManager>::get_from_key::{closure#0} 0
<pageserver::tenant::timeline::layer_manager::LayerManager>::layer_map 1079040
<pageserver::tenant::timeline::layer_manager::LayerManager>::layer_size_sum 0
<pageserver::tenant::timeline::layer_manager::LayerManager>::layer_size_sum::{closure#0} 0
<pageserver::tenant::timeline::layer_manager::LayerManager>::layers 242542
<pageserver::tenant::timeline::layer_manager::LayerManager>::likely_resident_layers 22
<pageserver::tenant::timeline::layer_manager::LayerManager>::likely_resident_layers::{closure#0} 33
<pageserver::tenant::timeline::layer_manager::LayerManager>::open_mut 4916
<pageserver::tenant::timeline::layer_manager::LayerManager>::shutdown 10
<pageserver::tenant::timeline::layer_manager::LayerManager>::try_get_from_key 242126
<pageserver::tenant::timeline::layer_manager::OpenLayerManager as core::fmt::Debug>::fmt 0
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::delete_historic_layer 486
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::finish_compact_l0 64
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::finish_flush_l0_layer 1144
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::finish_gc_compaction 36
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::finish_gc_timeline 8
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::force_insert_layer 126
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::get_layer_for_write 1268
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::get_layer_for_write::{closure#0} 1268
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::initialize_empty 412
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::initialize_local_layers 6
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::insert_historic_layer 1672
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::rewrite_layers 0
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::track_new_image_layers 716
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::try_freeze_in_memory_layer 1172
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::try_freeze_in_memory_layer::{closure#0} 1172
<pageserver::tenant::timeline::layer_manager::Shutdown as core::fmt::Display>::fmt 0

Generated by: LCOV version 2.1-beta