LCOV - code coverage report
Current view: top level - pageserver/src/tenant - storage_layer.rs (source / functions) Coverage Total Hit
Test: c28d23d327d4ca6acc894004f1432d7b7eea829c.info Lines: 83.5 % 552 461
Test Date: 2025-03-21 14:50:36 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 1589
<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 478960
<pageserver::tenant::storage_layer::LayerAccessStats>::record_access 479520
<pageserver::tenant::storage_layer::LayerAccessStats>::write_bits 479804
<pageserver::tenant::storage_layer::LayerAccessStats>::write_bits::{closure#0} 479804
<pageserver::tenant::storage_layer::LayerAccessStats>::decode_visibility 481293
<pageserver::tenant::storage_layer::LayerAccessStats>::to_low_res_timestamp 482924
<pageserver::tenant::storage_layer::IoConcurrency>::sequential 1215271
<pageserver::tenant::storage_layer::IoConcurrency>::spawn 1216371
<pageserver::tenant::storage_layer::ValuesReconstructState>::get_layers_visited 1255407
<pageserver::tenant::storage_layer::ValuesReconstructState as core::ops::drop::Drop>::drop 1255465
<pageserver::tenant::storage_layer::ValuesReconstructState>::new 1255465
<pageserver::tenant::storage_layer::ValueReconstructState>::num_deltas 1336111
<pageserver::tenant::storage_layer::VectoredValueReconstructState>::collect_pending_ios 1336251
<pageserver::tenant::storage_layer::VectoredValueReconstructState>::collect_pending_ios::{closure#0} 1336251
<pageserver::tenant::storage_layer::VectoredValueReconstructState>::collect_pending_ios::{closure#0}::{closure#0} 1337635
<pageserver::tenant::storage_layer::OnDiskValueIo>::complete 1482300
<pageserver::tenant::storage_layer::ValuesReconstructState>::update_key 1482300
<pageserver::tenant::storage_layer::IoConcurrency>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}> 1525533
::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}> 266967
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}> 1213516
<pageserver::tenant::storage_layer::IoConcurrency>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}>::{closure#0} 1525533
::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} 266967
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}>::{closure#0} 1213516
<pageserver::tenant::storage_layer::ValuesReconstructState>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}> 1525533
::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}> 266967
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}> 1213516
<pageserver::tenant::storage_layer::ValuesReconstructState>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}>::{closure#0} 1525533
::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} 266967
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}>::{closure#0} 1213516
<pageserver::tenant::storage_layer::ReadableLayer>::get_values_reconstruct_data 1693012
<pageserver::tenant::storage_layer::ReadableLayer>::get_values_reconstruct_data::{closure#0} 1693012
<pageserver::tenant::storage_layer::ValuesReconstructState>::on_layer_visited 1693012
<pageserver::tenant::storage_layer::LayerFringe>::update 1693948
<pageserver::tenant::storage_layer::ReadableLayer>::id 1693948
<pageserver::tenant::storage_layer::LayerFringe>::new 1709212
<pageserver::tenant::storage_layer::OnDiskValueIoWaiter>::wait_completion 2675270
::wait_completion 1337635
::wait_completion::{closure#0} 1337635
<pageserver::tenant::storage_layer::LayerFringe>::next_layer 3402224
<pageserver::tenant::storage_layer::ValuesReconstructState>::consume_done_keys 3402224

Generated by: LCOV version 2.1-beta