LCOV - code coverage report
Current view: top level - pageserver/src/tenant - storage_layer.rs (source / functions) Coverage Total Hit
Test: 45c9170b95180e9ecfad9a53e031030abf2a178c.info Lines: 83.5 % 552 461
Test Date: 2025-02-21 15:51:08 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::TestOverride as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 64
<<::spawn_for_test::TestOverride as serde::de::Deserialize>::deserialize::__Field as serde::de::Deserialize>::deserialize::> 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
<<pageserver::tenant::storage_layer::IoConcurrency>::spawn_for_test::Wrapper as core::ops::deref::Deref>::deref 36974
<<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::IoConcurrency>::clone 76368
<pageserver::tenant::storage_layer::IoConcurrency>::sequential 1215179
<pageserver::tenant::storage_layer::IoConcurrency>::spawn 1216265
<pageserver::tenant::storage_layer::IoConcurrency>::spawn::{closure#0} 32
<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::IoConcurrency>::spawn_from_conf 1022
<pageserver::tenant::storage_layer::IoConcurrency>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}> 1525537
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#0}> 267226
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#1}> 45040
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}> 1213269
::spawn_io:: 2
<pageserver::tenant::storage_layer::IoConcurrency>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}>::{closure#0} 1525537
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#0}>::{closure#0} 267226
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#1}>::{closure#0} 45040
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}>::{closure#0} 1213269
::spawn_io::::{closure#0} 2
<pageserver::tenant::storage_layer::LayerAccessStats as core::default::Default>::default 3853
<pageserver::tenant::storage_layer::LayerAccessStats>::accessed 73
<pageserver::tenant::storage_layer::LayerAccessStats>::as_api_model 0
<pageserver::tenant::storage_layer::LayerAccessStats>::decode_visibility 481855
<pageserver::tenant::storage_layer::LayerAccessStats>::latest_activity 89
<pageserver::tenant::storage_layer::LayerAccessStats>::read_low_res_timestamp 312
<pageserver::tenant::storage_layer::LayerAccessStats>::record_access 480069
<pageserver::tenant::storage_layer::LayerAccessStats>::record_access_at 479509
<pageserver::tenant::storage_layer::LayerAccessStats>::record_residence_event 102
<pageserver::tenant::storage_layer::LayerAccessStats>::record_residence_event_at 106
<pageserver::tenant::storage_layer::LayerAccessStats>::set_visibility 742
<pageserver::tenant::storage_layer::LayerAccessStats>::to_low_res_timestamp 483468
<pageserver::tenant::storage_layer::LayerAccessStats>::visibility 1604
<pageserver::tenant::storage_layer::LayerAccessStats>::write_bits 480357
<pageserver::tenant::storage_layer::LayerAccessStats>::write_bits::{closure#0} 480357
<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::LayerFringe>::new 1706162
<pageserver::tenant::storage_layer::LayerFringe>::next_layer 3399476
<pageserver::tenant::storage_layer::LayerFringe>::update 1693402
<pageserver::tenant::storage_layer::LayerVisit as core::cmp::Ord>::cmp 60
<pageserver::tenant::storage_layer::LayerVisit as core::cmp::PartialEq>::eq 0
<pageserver::tenant::storage_layer::LayerVisit as core::cmp::PartialOrd>::partial_cmp 60
<pageserver::tenant::storage_layer::OnDiskValueIo>::complete 1482408
<pageserver::tenant::storage_layer::OnDiskValueIoWaiter>::wait_completion 2674772
::wait_completion 1337386
::wait_completion::{closure#0} 1337386
<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::ReadableLayer>::get_values_reconstruct_data 1693314
<pageserver::tenant::storage_layer::ReadableLayer>::get_values_reconstruct_data::{closure#0} 1693314
<pageserver::tenant::storage_layer::ReadableLayer>::id 1693402
<pageserver::tenant::storage_layer::SelectedIoConcurrency as core::fmt::Debug>::fmt 64
<pageserver::tenant::storage_layer::ValueReconstructState>::num_deltas 1335934
<pageserver::tenant::storage_layer::ValuesReconstructState as core::ops::drop::Drop>::drop 1255324
<pageserver::tenant::storage_layer::ValuesReconstructState>::consume_done_keys 3399476
<pageserver::tenant::storage_layer::ValuesReconstructState>::get_delta_layers_visited 461
<pageserver::tenant::storage_layer::ValuesReconstructState>::get_layers_visited 1255266
<pageserver::tenant::storage_layer::ValuesReconstructState>::new 1255324
<pageserver::tenant::storage_layer::ValuesReconstructState>::on_image_layer_visited 45116
<pageserver::tenant::storage_layer::ValuesReconstructState>::on_layer_visited 1693314
<pageserver::tenant::storage_layer::ValuesReconstructState>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}> 1525537
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#0}> 267226
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#1}> 45040
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}> 1213269
::spawn_io:: 2
<pageserver::tenant::storage_layer::ValuesReconstructState>::spawn_io::<pageserver::tenant::storage_layer::tests2::test_io_concurrency_noise::{closure#0}::{closure#0}>::{closure#0} 1525537
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#0}>::{closure#0} 267226
::spawn_io::<::do_reads_and_update_state::{closure#0}::{closure#1}>::{closure#0} 45040
::spawn_io::<::get_values_reconstruct_data::{closure#0}::{closure#0}>::{closure#0} 1213269
::spawn_io::::{closure#0} 2
<pageserver::tenant::storage_layer::ValuesReconstructState>::update_key 1482408
<pageserver::tenant::storage_layer::VectoredValueReconstructState>::collect_pending_ios 1336074
<pageserver::tenant::storage_layer::VectoredValueReconstructState>::collect_pending_ios::{closure#0} 1336074
<pageserver::tenant::storage_layer::VectoredValueReconstructState>::collect_pending_ios::{closure#0}::{closure#0} 1337386
<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc as core::convert::From<pageserver::tenant::storage_layer::layer_name::DeltaLayerName>>::from 48
<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc as core::convert::From<pageserver::tenant::storage_layer::layer_name::ImageLayerName>>::from 52
<pageserver::tenant::storage_layer::layer_desc::PersistentLayerDesc as core::convert::From<pageserver::tenant::storage_layer::layer_name::LayerName>>::from 100
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 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::tests2::test_io_concurrency_noise::{closure#0}::{closure#0} 2

Generated by: LCOV version 2.1-beta