LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - delta_layer.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 85.5 % 1634 1397
Test Date: 2024-10-22 22:13:45 Functions: 71.8 % 163 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 1046
<::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>>> 1046
<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 6471322
<pageserver::tenant::storage_layer::delta_layer::BlobRef>::pos 4746528
<pageserver::tenant::storage_layer::delta_layer::BlobRef>::will_init 510541
<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 2682270
<pageserver::tenant::storage_layer::delta_layer::DeltaKey>::from_key_lsn 6717749
<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 1416
<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 204092
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::do_reads_and_update_state::{closure#0} 204092
<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 204292
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::get_min_read_buffer_size::{closure#0} 145438
<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 204092
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::get_values_reconstruct_data::{closure#0} 204092
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::index_start_offset 205074
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::iter 534
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::key_range 478
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::layer_dbg_info 0
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load 1046
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load::{closure#0} 1046
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load_keys 406
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load_keys::{closure#0} 406
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::load_keys::{closure#0}::{closure#0} 2064046
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::lsn_range 478
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::plan_reads::<pageserver::tenant::block_io::FileBlockReader> 204294
::plan_reads:: 204292
::plan_reads:: 2
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerInner>::plan_reads::<pageserver::tenant::block_io::FileBlockReader>::{closure#0} 204294
::plan_reads::::{closure#0} 204292
::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 4199272
::next 2099636
::next::{closure#0} 2099636
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerIterator>::next_batch 42728
::next_batch 21364
::next_batch::{closure#0} 21364
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter as core::ops::drop::Drop>::drop 1416
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::estimated_size 15084
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::finish 1396
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::finish::{closure#0} 1396
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::new 1416
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::new::{closure#0} 1416
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::num_keys 12162
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::put_value 2084558
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriter>::put_value::{closure#0} 2084558
<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 1396
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::finish0 1396
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::finish0::{closure#0} 1396
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::finish::{closure#0} 1396
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::new 1416
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::new::{closure#0} 1416
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value 2084558
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value::{closure#0} 2084558
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value_bytes::<alloc::vec::Vec<u8>> 6471218
::put_value_bytes::> 2085702
::put_value_bytes::>> 4385516
<pageserver::tenant::storage_layer::delta_layer::DeltaLayerWriterInner>::put_value_bytes::<alloc::vec::Vec<u8>>::{closure#0} 6471218
::put_value_bytes::>::{closure#0} 2085702
::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 1046
<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