LCOV - code coverage report
Current view: top level - pageserver/src/tenant - storage_layer.rs (source / functions) Coverage Total Hit
Test: ce3d23e223f9597001df6ba9f83269b728828ed3.info Lines: 83.5 % 552 461
Test Date: 2025-03-14 20:25:30 Functions: 84.1 % 82 69

Function Name Sort by function name Hit count Sort by function hit count
<<pageserver::tenant::storage_layer::IoConcurrency>::spawn_for_test::Wrapper as core::ops::deref::DerefMut>::deref_mut 0
<pageserver::tenant::storage_layer::IoConcurrency as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::LayerAccessStats>::as_api_model 0
<pageserver::tenant::storage_layer::LayerAccessStatsReset as core::convert::TryFrom<&str>>::try_from 0
<pageserver::tenant::storage_layer::LayerFringe as core::default::Default>::default 0
<pageserver::tenant::storage_layer::LayerVisit as core::cmp::PartialEq>::eq 0
<pageserver::tenant::storage_layer::OnDiskValueIoWaiter>::wait_completion::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::RangeDisplayDebug<pageserver_api::key::Key> as core::fmt::Debug>::fmt 0
pageserver::tenant::storage_layer::range_overlaps::<_> 0
pageserver::tenant::storage_layer::range_overlaps::<_> 0
pageserver::tenant::storage_layer::range_overlaps:: 0
pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0} 2
pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise 8
pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise 4
pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0} 4
<pageserver::tenant::storage_layer::IoConcurrency>::spawn::{closure#0} 32
<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc as core::convert::From<pageserver::tenant::storage_layer::layer_name::DeltaLayerName>>::from 44
<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc as core::convert::From<pageserver::tenant::storage_layer::layer_name::ImageLayerName>>::from 48
<<<pageserver::tenant::storage_layer::IoConcurrency>::spawn_for_test::TestOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 64
<<::spawn_for_test::TestOverride as serde::de::Deserialize>::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<<::spawn_for_test::TestOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<<::spawn_for_test::TestOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::visit_enum:: 0
<<::spawn_for_test::TestOverride as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::> 64
<pageserver::tenant::storage_layer::IoConcurrency>::spawn_for_test 64
<pageserver::tenant::storage_layer::IoConcurrency>::spawn_for_test::TEST_OVERRIDE::{closure#0} 64
<pageserver::tenant::storage_layer::SelectedIoConcurrency as core::fmt::Debug>::fmt 64
<pageserver::tenant::storage_layer::LayerAccessStats>::accessed 68
<pageserver::tenant::storage_layer::LayerVisit as core::cmp::Ord>::cmp 72
<pageserver::tenant::storage_layer::LayerVisit as core::cmp::PartialOrd>::partial_cmp 72
<pageserver::tenant::storage_layer::LayerAccessStats>::latest_activity 84
<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc as core::convert::From<pageserver::tenant::storage_layer::layer_name::LayerName>>::from 92
<pageserver::tenant::storage_layer::LayerAccessStats>::record_residence_event 96
<pageserver::tenant::storage_layer::LayerAccessStats>::record_residence_event_at 100
<pageserver::tenant::storage_layer::LayerAccessStats>::read_low_res_timestamp 292
<pageserver::tenant::storage_layer::ValuesReconstructState>::get_delta_layers_visited 468
<pageserver::tenant::storage_layer::LayerAccessStats>::set_visibility 744
<pageserver::tenant::storage_layer::IoConcurrency>::spawn_from_conf 1036
<pageserver::tenant::storage_layer::LayerAccessStats>::visibility 1588
<pageserver::tenant::storage_layer::LayerAccessStats as core::default::Default>::default 3864
<<pageserver::tenant::storage_layer::IoConcurrency>::spawn_for_test::Wrapper as core::ops::deref::Deref>::deref 36974
<pageserver::tenant::storage_layer::ValuesReconstructState>::on_image_layer_visited 45124
<pageserver::tenant::storage_layer::IoConcurrency>::clone 76410
<pageserver::tenant::storage_layer::LayerAccessStats>::record_access_at 480133
<pageserver::tenant::storage_layer::LayerAccessStats>::record_access 480693
<pageserver::tenant::storage_layer::LayerAccessStats>::write_bits 480977
<pageserver::tenant::storage_layer::LayerAccessStats>::write_bits::{closure#0} 480977
<pageserver::tenant::storage_layer::LayerAccessStats>::decode_visibility 482465
<pageserver::tenant::storage_layer::LayerAccessStats>::to_low_res_timestamp 484097
<pageserver::tenant::storage_layer::IoConcurrency>::sequential 1215140
<pageserver::tenant::storage_layer::IoConcurrency>::spawn 1216240
<pageserver::tenant::storage_layer::ValuesReconstructState>::get_layers_visited 1255276
<pageserver::tenant::storage_layer::ValuesReconstructState as core::ops::drop::Drop>::drop 1255334
<pageserver::tenant::storage_layer::ValuesReconstructState>::new 1255334
<pageserver::tenant::storage_layer::ValueReconstructState>::num_deltas 1335980
<pageserver::tenant::storage_layer::VectoredValueReconstructState>::collect_pending_ios 1336120
<pageserver::tenant::storage_layer::VectoredValueReconstructState>::collect_pending_ios::{closure#0} 1336120
<pageserver::tenant::storage_layer::VectoredValueReconstructState>::collect_pending_ios::{closure#0}::{closure#0} 1337504
<pageserver::tenant::storage_layer::OnDiskValueIo>::complete 1482461
<pageserver::tenant::storage_layer::ValuesReconstructState>::update_key 1482461
<pageserver::tenant::storage_layer::IoConcurrency>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}> 1525683
::spawn_io:: 2
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#1}> 45048
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#0}> 267368
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}> 1213265
<pageserver::tenant::storage_layer::IoConcurrency>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}>::{closure#0} 1525683
::spawn_io::::{closure#0} 2
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#1}>::{closure#0} 45048
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#0}>::{closure#0} 267368
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}>::{closure#0} 1213265
<pageserver::tenant::storage_layer::ValuesReconstructState>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}> 1525683
::spawn_io:: 2
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#1}> 45048
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#0}> 267368
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}> 1213265
<pageserver::tenant::storage_layer::ValuesReconstructState>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}>::{closure#0} 1525683
::spawn_io::::{closure#0} 2
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#1}>::{closure#0} 45048
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#0}>::{closure#0} 267368
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}>::{closure#0} 1213265
<pageserver::tenant::storage_layer::ReadableLayer>::get_values_reconstruct_data 1693934
<pageserver::tenant::storage_layer::ReadableLayer>::get_values_reconstruct_data::{closure#0} 1693934
<pageserver::tenant::storage_layer::ValuesReconstructState>::on_layer_visited 1693934
<pageserver::tenant::storage_layer::LayerFringe>::update 1694870
<pageserver::tenant::storage_layer::ReadableLayer>::id 1694870
<pageserver::tenant::storage_layer::LayerFringe>::new 1704980
<pageserver::tenant::storage_layer::OnDiskValueIoWaiter>::wait_completion 2675008
::wait_completion 1337504
::wait_completion::{closure#0} 1337504
<pageserver::tenant::storage_layer::LayerFringe>::next_layer 3398914
<pageserver::tenant::storage_layer::ValuesReconstructState>::consume_done_keys 3398914

Generated by: LCOV version 2.1-beta