LCOV - code coverage report
Current view: top level - pageserver/src/tenant/timeline - layer_manager.rs (source / functions) Coverage Total Hit
Test: 45c9170b95180e9ecfad9a53e031030abf2a178c.info Lines: 80.9 % 335 271
Test Date: 2025-02-21 15:51:08 Functions: 83.3 % 36 30

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 897
<pageserver::tenant::timeline::layer_manager::LayerFileManager<pageserver::tenant::storage_layer::layer::Layer>>::insert 3489
<pageserver::tenant::timeline::layer_manager::LayerFileManager<pageserver::tenant::storage_layer::layer::Layer>>::remove 1032
<pageserver::tenant::timeline::layer_manager::LayerManager as core::default::Default>::default 897
<pageserver::tenant::timeline::layer_manager::LayerManager>::all_persistent_layers 0
<pageserver::tenant::timeline::layer_manager::LayerManager>::contains 616
<pageserver::tenant::timeline::layer_manager::LayerManager>::contains_key 820
<pageserver::tenant::timeline::layer_manager::LayerManager>::get_from_desc 481987
<pageserver::tenant::timeline::layer_manager::LayerManager>::get_from_key 482031
<pageserver::tenant::timeline::layer_manager::LayerManager>::get_from_key::{closure#0} 0
<pageserver::tenant::timeline::layer_manager::LayerManager>::layer_map 2153800
<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 483035
<pageserver::tenant::timeline::layer_manager::LayerManager>::likely_resident_layers 84
<pageserver::tenant::timeline::layer_manager::LayerManager>::likely_resident_layers::{closure#0} 247
<pageserver::tenant::timeline::layer_manager::LayerManager>::open_mut 9865
<pageserver::tenant::timeline::layer_manager::LayerManager>::shutdown 20
<pageserver::tenant::timeline::layer_manager::LayerManager>::try_get_from_key 482131
<pageserver::tenant::timeline::layer_manager::OpenLayerManager as core::fmt::Debug>::fmt 0
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::delete_historic_layer 1032
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::finish_compact_l0 56
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::finish_flush_l0_layer 2349
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::finish_gc_compaction 96
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::finish_gc_timeline 16
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::force_insert_layer 308
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::get_layer_for_write 2597
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::get_layer_for_write::{closure#0} 2597
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::initialize_empty 885
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::initialize_local_layers 12
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::insert_historic_layer 3489
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::rewrite_layers 0
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::rewrite_layers_inner 96
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::track_new_image_layers 1141
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::try_freeze_in_memory_layer 2405
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::try_freeze_in_memory_layer::{closure#0} 2405

Generated by: LCOV version 2.1-beta