LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - image_layer.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 78.3 % 952 745
Test Date: 2024-10-22 22:13:45 Functions: 56.8 % 88 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::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::ImageLayerWriter>::finish_with_end_key 26
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::finish_with_end_key::{closure#0} 26
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::ImageLayerInner>::key_range 36
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::lsn 36
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::iter 92
<<pageserver::tenant::storage_layer::image_layer::Summary as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 102
<::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>>> 102
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::load 102
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::load::{closure#0} 102
<pageserver::tenant::storage_layer::image_layer::Summary>::expected 102
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::finish 268
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::finish::{closure#0} 268
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::finish 294
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::finish0 294
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::finish0::{closure#0} 294
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::finish::{closure#0} 294
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::temp_path_for 490
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter as core::ops::drop::Drop>::drop 490
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::new 490
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::new::{closure#0} 490
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::new 490
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::new::{closure#0} 490
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::ImageLayerInner>::do_reads_and_update_state 7969
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::do_reads_and_update_state::{closure#0} 7969
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::get_values_reconstruct_data 7969
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::get_values_reconstruct_data::{closure#0} 7969
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::plan_reads 7977
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::plan_reads::{closure#0} 7977
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::estimated_size 8382
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::num_keys 8442
<pageserver::tenant::storage_layer::image_layer::ImageLayerIterator>::next_batch 38192
::next_batch 19096
::next_batch::{closure#0} 19096
<pageserver::tenant::storage_layer::image_layer::ImageLayerIterator>::next 57016
::next 28508
::next::{closure#0} 28508
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::put_image 546152
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::put_image::{closure#0} 546152
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::put_image 546152
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::put_image::{closure#0} 546152

Generated by: LCOV version 2.1-beta