LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - image_layer.rs (source / functions) Coverage Total Hit
Test: fc67f8dc6087a0b4f4f0bcd74f6e1dc25fab8cf3.info Lines: 79.7 % 916 730
Test Date: 2024-09-24 13:57:57 Functions: 55.8 % 86 48

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 6
pageserver::tenant::storage_layer::image_layer::test::produce_image_layer::{closure#0} 6
pageserver::tenant::storage_layer::image_layer::test::image_layer_iterator 12
pageserver::tenant::storage_layer::image_layer::test::image_layer_iterator 6
pageserver::tenant::storage_layer::image_layer::test::image_layer_iterator::{closure#0} 6
pageserver::tenant::storage_layer::image_layer::test::image_layer_rewrite 12
pageserver::tenant::storage_layer::image_layer::test::image_layer_rewrite 6
pageserver::tenant::storage_layer::image_layer::test::image_layer_rewrite::{closure#0} 6
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::filter 24
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::filter::{closure#0} 24
pageserver::tenant::storage_layer::image_layer::test::image_layer_rewrite::{closure#0}::{closure#0} 30
pageserver::tenant::storage_layer::image_layer::test::assert_img_iter_equal 84
pageserver::tenant::storage_layer::image_layer::test::assert_img_iter_equal::{closure#0} 84
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::finish_with_end_key 102
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::finish_with_end_key::{closure#0} 102
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::key_range 108
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::lsn 108
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::iter 276
<<pageserver::tenant::storage_layer::image_layer::Summary as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 318
<::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>>> 318
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::load 318
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::load::{closure#0} 318
<pageserver::tenant::storage_layer::image_layer::Summary>::expected 318
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::finish 822
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::finish::{closure#0} 822
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::finish 924
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::finish::{closure#0} 924
<pageserver::tenant::storage_layer::image_layer::ImageLayer>::temp_path_for 1506
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter as core::ops::drop::Drop>::drop 1506
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::new 1506
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::new::{closure#0} 1506
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::new 1506
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::new::{closure#0} 1506
pageserver::tenant::storage_layer::image_layer::test::image_layer_iterator::{closure#0}::get_key 6000
pageserver::tenant::storage_layer::image_layer::test::image_layer_iterator::{closure#0}::{closure#0} 6000
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::do_reads_and_update_state 24102
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::do_reads_and_update_state::{closure#0} 24102
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::get_values_reconstruct_data 24102
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::get_values_reconstruct_data::{closure#0} 24102
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::plan_reads 24126
<pageserver::tenant::storage_layer::image_layer::ImageLayerInner>::plan_reads::{closure#0} 24126
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::estimated_size 25146
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::num_keys 25326
<pageserver::tenant::storage_layer::image_layer::ImageLayerIterator>::next_batch 114104
::next_batch 57052
::next_batch::{closure#0} 57052
<pageserver::tenant::storage_layer::image_layer::ImageLayerIterator>::next 171048
::next 85524
::next::{closure#0} 85524
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::put_image 1638594
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriter>::put_image::{closure#0} 1638594
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::put_image 1638594
<pageserver::tenant::storage_layer::image_layer::ImageLayerWriterInner>::put_image::{closure#0} 1638594

Generated by: LCOV version 2.1-beta