LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - image_layer.rs (source / functions) Coverage Total Hit
Test: 09e7485004805bd42b53a0c369170b3228136512.info Lines: 77.4 % 962 745
Test Date: 2024-11-21 18:36:18 Functions: 54.3 % 92 50

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::storage_layer::image_layer::ImageLayer as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::image_layer::ImageLayer as core::fmt::Display>::fmt 0
<pageserver::tenant::storage_layer::image_layer::ImageLayer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc 0
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::dump 0
::dump 0
::dump::{closure#0} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::load 0
::load 0
::load::{closure#0} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::load::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::load::{closure#0}::{closure#1} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::load_inner 0
::load_inner 0
::load_inner::{closure#0} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::new_for_path 0
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::path 0
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::rewrite_summary::<_> 0
::rewrite_summary::<_> 0
::rewrite_summary:: 0
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::rewrite_summary::<_>::{closure#0} 0
::rewrite_summary::<_>::{closure#0} 0
::rewrite_summary::::{closure#0} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::rewrite_summary::<_>::{closure#0}::{closure#0} 0
::rewrite_summary::<_>::{closure#0}::{closure#0} 0
::rewrite_summary::::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::do_reads_and_update_state::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::dump 0
::dump 0
::dump::{closure#0} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::dump::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::layer_dbg_info 0
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::load_keys 0
::load_keys 0
::load_keys::{closure#0} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::load_keys::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::load_keys::{closure#0}::{closure#1} 0
<pageserver::tenant::storage_layer::image_layer::ImageLayerIterator>::layer_dbg_info 0
<pageserver::tenant::storage_layer::image_layer::RewriteSummaryError as core::convert::From<std::io::error::Error>>::from 0
<pageserver::tenant::storage_layer::image_layer::RewriteSummaryError as core::fmt::Display>::fmt 0
>::from 0
::source 0
::fmt 0
<pageserver::tenant::storage_layer::image_layer::Summary as core::convert::From<&pageserver::tenant::storage_layer::image_layer::ImageLayer>>::from 0
pageserver::tenant::storage_layer::image_layer::test::produce_image_layer 2
pageserver::tenant::storage_layer::image_layer::test::produce_image_layer::{closure#0} 2
pageserver::tenant::storage_layer::image_layer::test::image_layer_iterator 4
pageserver::tenant::storage_layer::image_layer::test::image_layer_iterator 2
pageserver::tenant::storage_layer::image_layer::test::image_layer_iterator::{closure#0} 2
pageserver::tenant::storage_layer::image_layer::test::image_layer_rewrite 4
pageserver::tenant::storage_layer::image_layer::test::image_layer_rewrite 2
pageserver::tenant::storage_layer::image_layer::test::image_layer_rewrite::{closure#0} 2
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::filter 8
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::filter::{closure#0} 8
pageserver::tenant::storage_layer::image_layer::test::image_layer_rewrite::{closure#0}::{closure#0} 10
pageserver::tenant::storage_layer::image_layer::test::assert_img_iter_equal 28
pageserver::tenant::storage_layer::image_layer::test::assert_img_iter_equal::{closure#0} 28
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::finish_with_end_key 40
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::finish_with_end_key::{closure#0} 40
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::iter 114
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::key_range 116
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::lsn 116
<<pageserver::tenant::storage_layer::image_layer::Summary as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 122
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 122
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::load 122
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::load::{closure#0} 122
<pageserver::tenant::storage_layer::image_layer::Summary>::expected 122
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::finish 276
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::finish::{closure#0} 276
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::finish 316
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::finish0 316
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::finish0::{closure#0} 316
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::finish::{closure#0} 316
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::temp_path_for 518
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter as core::ops::drop::Drop>::drop 518
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::new 518
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::new::{closure#0} 518
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::new 518
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::new::{closure#0} 518
pageserver::tenant::storage_layer::image_layer::test::image_layer_iterator::{closure#0}::get_key 2000
pageserver::tenant::storage_layer::image_layer::test::image_layer_iterator::{closure#0}::{closure#0} 2000
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::estimated_size 8476
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::num_keys 8564
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::do_reads_and_update_state 21820
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::do_reads_and_update_state::{closure#0} 21820
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::get_values_reconstruct_data 21820
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::get_values_reconstruct_data::{closure#0} 21820
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::plan_reads 21828
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::plan_reads::{closure#0} 21828
<pageserver::tenant::storage_layer::image_layer::ImageLayerIterator>::next_batch 38236
::next_batch 19118
::next_batch::{closure#0} 19118
<pageserver::tenant::storage_layer::image_layer::ImageLayerIterator>::next 57440
::next 28720
::next::{closure#0} 28720
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::put_image 546322
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::put_image::{closure#0} 546322
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::put_image 546322
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::put_image::{closure#0} 546322

Generated by: LCOV version 2.1-beta