LCOV - code coverage report
Current view: top level - pageserver/src/tenant - storage_layer.rs (source / functions) Coverage Total Hit
Test: 13fa4b48c3603751d5b1568465c493b8925758a2.info Lines: 83.5 % 552 461
Test Date: 2025-03-19 18:46:26 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 1595
<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 479163
<pageserver::tenant::storage_layer::LayerAccessStats>::record_access 479723
<pageserver::tenant::storage_layer::LayerAccessStats>::write_bits 480007
<pageserver::tenant::storage_layer::LayerAccessStats>::write_bits::{closure#0} 480007
<pageserver::tenant::storage_layer::LayerAccessStats>::decode_visibility 481502
<pageserver::tenant::storage_layer::LayerAccessStats>::to_low_res_timestamp 483127
<pageserver::tenant::storage_layer::IoConcurrency>::sequential 1215207
<pageserver::tenant::storage_layer::IoConcurrency>::spawn 1216307
<pageserver::tenant::storage_layer::ValuesReconstructState>::get_layers_visited 1255343
<pageserver::tenant::storage_layer::ValuesReconstructState as core::ops::drop::Drop>::drop 1255401
<pageserver::tenant::storage_layer::ValuesReconstructState>::new 1255401
<pageserver::tenant::storage_layer::ValueReconstructState>::num_deltas 1336047
<pageserver::tenant::storage_layer::VectoredValueReconstructState>::collect_pending_ios 1336187
<pageserver::tenant::storage_layer::VectoredValueReconstructState>::collect_pending_ios::{closure#0} 1336187
<pageserver::tenant::storage_layer::VectoredValueReconstructState>::collect_pending_ios::{closure#0}::{closure#0} 1337571
<pageserver::tenant::storage_layer::OnDiskValueIo>::complete 1481792
<pageserver::tenant::storage_layer::ValuesReconstructState>::update_key 1481792
<pageserver::tenant::storage_layer::IoConcurrency>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}> 1525470
::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}> 267072
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}> 1213348
<pageserver::tenant::storage_layer::IoConcurrency>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}>::{closure#0} 1525470
::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} 267072
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}>::{closure#0} 1213348
<pageserver::tenant::storage_layer::ValuesReconstructState>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}> 1525470
::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}> 267072
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}> 1213348
<pageserver::tenant::storage_layer::ValuesReconstructState>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}>::{closure#0} 1525470
::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} 267072
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}>::{closure#0} 1213348
<pageserver::tenant::storage_layer::ReadableLayer>::get_values_reconstruct_data 1693047
<pageserver::tenant::storage_layer::ReadableLayer>::get_values_reconstruct_data::{closure#0} 1693047
<pageserver::tenant::storage_layer::ValuesReconstructState>::on_layer_visited 1693047
<pageserver::tenant::storage_layer::LayerFringe>::update 1693983
<pageserver::tenant::storage_layer::ReadableLayer>::id 1693983
<pageserver::tenant::storage_layer::LayerFringe>::new 1706157
<pageserver::tenant::storage_layer::OnDiskValueIoWaiter>::wait_completion 2675142
::wait_completion 1337571
::wait_completion::{closure#0} 1337571
<pageserver::tenant::storage_layer::LayerFringe>::next_layer 3399204
<pageserver::tenant::storage_layer::ValuesReconstructState>::consume_done_keys 3399204

Generated by: LCOV version 2.1-beta