LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - delta_layer.rs (source / functions) Coverage Total Hit
Test: 7179b4db0d82ca8088cc95c44c4be4232078509c.info Lines: 85.1 % 1642 1397
Test Date: 2024-11-21 16:46:58 Functions: 69.6 % 168 117

Function Name Sort by function name Hit count Sort by function hit count
<<pageserver::tenant::storage_layer::delta_layer::BlobRef as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_newtype_struct::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::Item>::is_last 70
<<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::Item>::offset 70
<<pageserver::tenant::storage_layer::delta_layer::Summary as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 1068
<::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>>> 1068
<core::option::Option<(pageserver_api::key::Key, utils::lsn::Lsn, pageserver::tenant::storage_layer::delta_layer::BlobRef)> as core::convert::From<<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::Item>>::from 70
<pageserver::tenant::storage_layer::delta_layer::Adapter<&pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>>::read_blk 8
<pageserver::tenant::storage_layer::delta_layer::Adapter<&pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>>::read_blk::{closure#0} 8
<pageserver::tenant::storage_layer::delta_layer::BlobRef>::new 6471388
<pageserver::tenant::storage_layer::delta_layer::BlobRef>::pos 4789807
<pageserver::tenant::storage_layer::delta_layer::BlobRef>::will_init 520990
<pageserver::tenant::storage_layer::delta_layer::DeltaEntry as pageserver_compaction::interface::CompactionDeltaEntry<pageserver_api::key::Key>>::key 0
<pageserver::tenant::storage_layer::delta_layer::DeltaEntry as pageserver_compaction::interface::CompactionDeltaEntry<pageserver_api::key::Key>>::lsn 0
<pageserver::tenant::storage_layer::delta_layer::DeltaEntry as pageserver_compaction::interface::CompactionDeltaEntry<pageserver_api::key::Key>>::size 0
<pageserver::tenant::storage_layer::delta_layer::DeltaKey>::extract_lsn_from_buf 2725549
<pageserver::tenant::storage_layer::delta_layer::DeltaKey>::from_key_lsn 6689006
<pageserver::tenant::storage_layer::delta_layer::DeltaKey>::from_slice 2064198
<pageserver::tenant::storage_layer::delta_layer::DeltaKey>::key 2064198
<pageserver::tenant::storage_layer::delta_layer::DeltaKey>::lsn 2064198
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer as core::fmt::Display>::fmt 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer as pageserver::tenant::storage_layer::AsLayerDesc>::layer_desc 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::dump 0
::dump 0
::dump::{closure#0} 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::load 0
::load 0
::load::{closure#0} 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::load::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::load::{closure#0}::{closure#1} 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::load_inner 0
::load_inner 0
::load_inner::{closure#0} 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::new_for_path 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::path 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::rewrite_summary::<_> 0
::rewrite_summary::<_> 0
::rewrite_summary:: 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::rewrite_summary::<_>::{closure#0} 0
::rewrite_summary::<_>::{closure#0} 0
::rewrite_summary::::{closure#0} 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayer>::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::delta_layer::DeltaLayer>::temp_path_for 1438
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner as core::convert::AsRef<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>>::as_ref 16
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix 10
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0} 10
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::{closure#0} 60
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::{closure#1} 10
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::{closure#2} 60
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::{closure#3} 22
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::{closure#4} 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::copy_prefix::{closure#0}::{closure#5} 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::do_reads_and_update_state 217284
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::do_reads_and_update_state::{closure#0} 217284
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::dump 8
::dump 4
::dump::{closure#0} 4
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::dump::{closure#0}::dump_blob 16
::dump::{closure#0}::dump_blob 8
::dump::{closure#0}::dump_blob::{closure#0} 8
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::get_min_read_buffer_size 217484
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::get_min_read_buffer_size::{closure#0} 145280
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::get_min_read_buffer_size::{closure#1} 200
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::get_values_reconstruct_data 217284
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::get_values_reconstruct_data::{closure#0} 217284
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::index_entries 406
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::index_entries::{closure#0} 406
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::index_entries::{closure#0}::{closure#0} 2064046
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::index_start_offset 218282
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::iter 550
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::key_range 988
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::layer_dbg_info 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load 1068
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load::{closure#0} 1068
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load_keys 0
::load_keys 0
::load_keys::{closure#0} 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load_keys::{closure#0}::{closure#0} 0
::load_keys::{closure#0}::{closure#0} 0
::load_keys::{closure#0}::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::lsn_range 988
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::plan_reads::<pageserver::tenant::block_io::FileBlockReader> 217486
::plan_reads:: 217484
::plan_reads:: 2
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::plan_reads::<pageserver::tenant::block_io::FileBlockReader>::{closure#0} 217486
::plan_reads::::{closure#0} 217484
::plan_reads::::{closure#0} 2
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::stream_index_forwards::<pageserver::tenant::block_io::FileBlockReader> 30
::stream_index_forwards::<&pageserver::tenant::block_io::FileBlockReader> 20
::stream_index_forwards:: 10
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::stream_index_forwards::<pageserver::tenant::block_io::FileBlockReader>::{closure#0} 152
::stream_index_forwards::<&pageserver::tenant::block_io::FileBlockReader>::{closure#0} 92
::stream_index_forwards::::{closure#0} 60
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerIterator>::layer_dbg_info 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerIterator>::next 4199444
::next 2099722
::next::{closure#0} 2099722
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerIterator>::next_batch 42760
::next_batch 21380
::next_batch::{closure#0} 21380
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter as core::ops::drop::Drop>::drop 1438
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::estimated_size 15088
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::finish 1414
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::finish::{closure#0} 1414
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::is_empty 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::new 1438
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::new::{closure#0} 1438
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::num_keys 12178
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::put_value 2084624
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::put_value::{closure#0} 2084624
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::put_value_bytes::<alloc::vec::Vec<u8>> 4386660
::put_value_bytes::> 1144
::put_value_bytes::>> 4385516
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::put_value_bytes::<alloc::vec::Vec<u8>>::{closure#0} 4386660
::put_value_bytes::>::{closure#0} 1144
::put_value_bytes::>>::{closure#0} 4385516
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::size 2023972
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::finish 1414
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::finish0 1414
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::finish0::{closure#0} 1414
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::finish::{closure#0} 1414
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::new 1438
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::new::{closure#0} 1438
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value 2084624
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value::{closure#0} 2084624
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value_bytes::<alloc::vec::Vec<u8>> 6471284
::put_value_bytes::> 2085768
::put_value_bytes::>> 4385516
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value_bytes::<alloc::vec::Vec<u8>>::{closure#0} 6471284
::put_value_bytes::>::{closure#0} 2085768
::put_value_bytes::>>::{closure#0} 4385516
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value_bytes::<alloc::vec::Vec<u8>>::{closure#0}::{closure#0} 0
::put_value_bytes::>::{closure#0}::{closure#0} 0
::put_value_bytes::>>::{closure#0}::{closure#0} 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::size 2023972
<pageserver::tenant::storage_layer::delta_layer::RewriteSummaryError as core::convert::From<std::io::error::Error>>::from 0
<pageserver::tenant::storage_layer::delta_layer::RewriteSummaryError as core::fmt::Display>::fmt 0
>::from 0
::source 0
::fmt 0
<pageserver::tenant::storage_layer::delta_layer::Summary as core::convert::From<&pageserver::tenant::storage_layer::delta_layer::DeltaLayer>>::from 0
<pageserver::tenant::storage_layer::delta_layer::Summary>::expected 1068
<pageserver::tenant::storage_layer::delta_layer::ValueRef>::load 0
::load 0
::load::{closure#0} 0
<pageserver::tenant::storage_layer::delta_layer::ValueRef>::load_raw 16
::load_raw 8
::load_raw::{closure#0} 8
pageserver::tenant::storage_layer::delta_layer::test::assert_delta_iter_equal 28
pageserver::tenant::storage_layer::delta_layer::test::assert_delta_iter_equal::{closure#0} 28
pageserver::tenant::storage_layer::delta_layer::test::assert_keys_and_values_eq 10
pageserver::tenant::storage_layer::delta_layer::test::assert_keys_and_values_eq::{closure#0} 10
pageserver::tenant::storage_layer::delta_layer::test::assert_keys_and_values_eq::{closure#0}::{closure#0} 60
pageserver::tenant::storage_layer::delta_layer::test::copy_delta_prefix_smoke 4
pageserver::tenant::storage_layer::delta_layer::test::copy_delta_prefix_smoke 2
pageserver::tenant::storage_layer::delta_layer::test::copy_delta_prefix_smoke::{closure#0} 2
pageserver::tenant::storage_layer::delta_layer::test::copy_delta_prefix_smoke::{closure#0}::{closure#0} 268288
pageserver::tenant::storage_layer::delta_layer::test::copy_delta_prefix_smoke::{closure#0}::{closure#1} 3
pageserver::tenant::storage_layer::delta_layer::test::delta_layer_iterator 4
pageserver::tenant::storage_layer::delta_layer::test::delta_layer_iterator 2
pageserver::tenant::storage_layer::delta_layer::test::delta_layer_iterator::{closure#0} 2
pageserver::tenant::storage_layer::delta_layer::test::delta_layer_iterator::{closure#0}::get_key 2000
pageserver::tenant::storage_layer::delta_layer::test::delta_layer_iterator::{closure#0}::{closure#0} 2000
pageserver::tenant::storage_layer::delta_layer::test::generate_entries 2
pageserver::tenant::storage_layer::delta_layer::test::generate_entries::{closure#0} 2260
pageserver::tenant::storage_layer::delta_layer::test::generate_entries::{closure#1} 3336
pageserver::tenant::storage_layer::delta_layer::test::generate_entries::{closure#2} 240
pageserver::tenant::storage_layer::delta_layer::test::get_entries_meta 2
pageserver::tenant::storage_layer::delta_layer::test::get_entries_meta::{closure#0} 1112
pageserver::tenant::storage_layer::delta_layer::test::get_entries_meta::{closure#1} 1112
pageserver::tenant::storage_layer::delta_layer::test::pick_random_keyspace 200
pageserver::tenant::storage_layer::delta_layer::test::produce_delta_layer 22
pageserver::tenant::storage_layer::delta_layer::test::produce_delta_layer::{closure#0} 22
pageserver::tenant::storage_layer::delta_layer::test::produce_delta_layer::{closure#0}::{closure#0} 8240
pageserver::tenant::storage_layer::delta_layer::test::produce_delta_layer::{closure#0}::{closure#1} 8240
pageserver::tenant::storage_layer::delta_layer::test::sort_delta 18224
pageserver::tenant::storage_layer::delta_layer::test::sort_delta_value 94
pageserver::tenant::storage_layer::delta_layer::test::test_delta_layer_index_traversal 4
pageserver::tenant::storage_layer::delta_layer::test::test_delta_layer_index_traversal 2
pageserver::tenant::storage_layer::delta_layer::test::test_delta_layer_index_traversal::{closure#0} 2
pageserver::tenant::storage_layer::delta_layer::test::test_delta_layer_vectored_read_end_to_end 4
pageserver::tenant::storage_layer::delta_layer::test::test_delta_layer_vectored_read_end_to_end 2
pageserver::tenant::storage_layer::delta_layer::test::test_delta_layer_vectored_read_end_to_end::{closure#0} 2
pageserver::tenant::storage_layer::delta_layer::test::validate 2
pageserver::tenant::storage_layer::delta_layer::test::validate::{closure#0} 42

Generated by: LCOV version 2.1-beta