LCOV - code coverage report
Current view: top level - pageserver/src/tenant - disk_btree.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 98.7 % 746 736
Test Date: 2024-02-29 11:57:12 Functions: 77.5 % 218 169

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::disk_btree::BuildNode<_> as core::fmt::Debug>::fmt 0
as core::clone::Clone>::clone 0
as core::fmt::Debug>::fmt 0
<pageserver::tenant::disk_btree::DiskBtreeError as core::fmt::Debug>::fmt 0
>::from 0
::source 0
::fmt 0
::fmt 0
<pageserver::tenant::disk_btree::Value as core::fmt::Debug>::fmt 0
::clone 0
::fmt 0
<pageserver::tenant::disk_btree::Value>::is_offset 0
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#7} 0
pageserver::tenant::disk_btree::tests::basic 2
pageserver::tenant::disk_btree::tests::lots_of_keys 2
pageserver::tenant::disk_btree::tests::random_data 2
pageserver::tenant::disk_btree::tests::unsorted_input 2
pageserver::tenant::disk_btree::tests::unsorted_input::{closure#0} 2
pageserver::tenant::disk_btree::tests::basic::{closure#0} 4
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0} 4
pageserver::tenant::disk_btree::tests::random_data::{closure#0} 4
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::dump::{closure#0}::{closure#0} 6
>::dump::{closure#0}::{closure#0} 0
>::dump::{closure#0}::{closure#0} 0
>::dump::{closure#0}::{closure#0} 0
>::dump::{closure#0}::{closure#0} 0
>::dump::{closure#0}::{closure#0} 0
>::dump::{closure#0}::{closure#0} 6
pageserver::tenant::disk_btree::tests::particular_data 6
pageserver::tenant::disk_btree::tests::particular_data 2
pageserver::tenant::disk_btree::tests::particular_data::{closure#0} 4
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#5} 8
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#6} 8
<pageserver::tenant::disk_btree::tests::TestDisk as core::clone::Clone>::clone 10
::clone 0
::default 10
<pageserver::tenant::disk_btree::tests::TestDisk>::new 10
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#2} 10
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#3} 10
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#0} 16
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#1} 16
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#4} 16
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#8} 16
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#9} 16
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::dump 20
>::dump 0
>::dump::{closure#0} 0
>::dump 0
>::dump::{closure#0} 0
>::dump 2
>::dump::{closure#0} 2
>::dump 2
>::dump::{closure#0} 2
>::dump 2
>::dump::{closure#0} 2
>::dump 4
>::dump::{closure#0} 4
<&mut pageserver::tenant::disk_btree::tests::TestDisk as pageserver::tenant::block_io::BlockWriter>::write_blk 214
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::finish 562
>::finish 2
>::finish 2
>::finish 2
>::finish 2
>::finish 74
>::finish 480
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::new 564
>::new 2
>::new 2
>::new 2
>::new 2
>::new 2
>::new 74
>::new 480
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#3} 2000
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#4} 2000
pageserver::tenant::disk_btree::tests::particular_data::{closure#0}::{closure#0} 4000
<pageserver::tenant::disk_btree::BuildNode<2>>::first_key 8365
>::first_key 0
>::first_key 0
>::first_key 0
>::first_key 0
>::first_key 198
>::first_key 8167
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::flush_node 8365
>::flush_node 0
>::flush_node 0
>::flush_node 0
>::flush_node 0
>::flush_node 8
>::flush_node 198
>::flush_node 8159
<pageserver::tenant::disk_btree::Value>::from_blknum 8365
<pageserver::tenant::disk_btree::BuildNode<2>>::pack 8927
>::pack 0
>::pack 2
>::pack 2
>::pack 74
>::pack 200
>::pack 8649
<pageserver::tenant::disk_btree::BuildNode<2>>::new 8929
>::new 2
>::new 2
>::new 2
>::new 74
>::new 200
>::new 8649
<pageserver::tenant::disk_btree::BuildNode<2>>::compress 16020
>::compress 0
>::compress 0
>::compress 0
>::compress 2
>::compress 392
>::compress 15626
<pageserver::tenant::disk_btree::BuildNode<2>>::last_suffix 16020
>::last_suffix 0
>::last_suffix 0
>::last_suffix 0
>::last_suffix 2
>::last_suffix 392
>::last_suffix 15626
<pageserver::tenant::disk_btree::BuildNode<2>>::first_suffix 24385
>::first_suffix 0
>::first_suffix 0
>::first_suffix 0
>::first_suffix 2
>::first_suffix 590
>::first_suffix 23793
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#1} 39820
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#2} 40000
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#0} 83820
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::new 124354
>::new 0
>::new 2
>::new 2
>::new 2
>::new 2
>::new 318
>::new 512
>::new 123516
<pageserver::tenant::disk_btree::DiskBtreeReader<&pageserver::tenant::block_io::FileBlockReader, 18>>::get::{closure#0}::{closure#0} 203713
>::get::{closure#0}::{closure#0} 20
>::get::{closure#0}::{closure#0} 512
>::get::{closure#0}::{closure#0} 4000
>::get::{closure#0}::{closure#0} 4000
>::get::{closure#0}::{closure#0} 195181
<pageserver::tenant::disk_btree::tests::TestDisk as pageserver::tenant::block_io::BlockReader>::block_cursor 411285
<pageserver::tenant::disk_btree::Value>::to_blknum 521569
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}> 535621
>::visit::::{closure#0}::{closure#0}> 0
>::visit::<::dump::{closure#0}::{closure#0}> 0
>::visit::<::plan_reads::{closure#0}::{closure#0}> 0
>::visit:: 0
>::visit:: 2
>::visit:: 2
>::visit:: 2
>::visit:: 2
>::visit:: 2
>::visit::<::plan_reads::{closure#0}::{closure#0}> 10
>::visit::<>::get::{closure#0}::{closure#0}> 22
>::visit::<::load_keys::{closure#0}::{closure#0}> 304
>::visit::<>::get::{closure#0}::{closure#0}> 512
>::visit::<>::get::{closure#0}::{closure#0}> 4000
>::visit::<>::get::{closure#0}::{closure#0}> 4020
>::visit:: 8044
>::visit::<::get_value_reconstruct_data::{closure#0}::{closure#0}> 123516
>::visit::<>::get::{closure#0}::{closure#0}> 395183
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}>::{closure#0} 535621
>::visit::::{closure#0}::{closure#0}>::{closure#0} 0
>::visit::<::dump::{closure#0}::{closure#0}>::{closure#0} 0
>::visit::<::plan_reads::{closure#0}::{closure#0}>::{closure#0} 0
>::visit::::{closure#0} 0
>::visit::::{closure#0} 2
>::visit::::{closure#0} 2
>::visit::::{closure#0} 2
>::visit::::{closure#0} 2
>::visit::::{closure#0} 2
>::visit::<::plan_reads::{closure#0}::{closure#0}>::{closure#0} 10
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 22
>::visit::<::load_keys::{closure#0}::{closure#0}>::{closure#0} 304
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 512
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 4000
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 4020
>::visit::::{closure#0} 8044
>::visit::<::get_value_reconstruct_data::{closure#0}::{closure#0}>::{closure#0} 123516
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 395183
<pageserver::tenant::disk_btree::DiskBtreeReader<&pageserver::tenant::block_io::FileBlockReader, 18>>::get 807474
>::get 22
>::get::{closure#0} 22
>::get 512
>::get::{closure#0} 512
>::get 4000
>::get::{closure#0} 4000
>::get 4020
>::get::{closure#0} 4020
>::get 395183
>::get::{closure#0} 395183
<pageserver::tenant::disk_btree::tests::TestDisk>::read_blk 1016504
<pageserver::tenant::disk_btree::OnDiskNode<6>>::binary_search 1057182
>::binary_search 30
>::binary_search 512
>::binary_search 12064
>::binary_search 254210
>::binary_search 790366
<pageserver::tenant::disk_btree::VisitDirection as core::fmt::Debug>::fmt 1057182
::clone 0
::fmt 0
::eq 1057182
<pageserver::tenant::disk_btree::OnDiskNode<6>>::deparse 1267259
>::deparse 46
>::deparse 512
>::deparse 14064
>::deparse 262269
>::deparse 990368
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 26>>::borrow_writer 2009970
<pageserver::tenant::disk_btree::Value>::to_u64 2512246
<pageserver::tenant::disk_btree::OnDiskNode<6>>::value 3039839
>::value 70
>::value 512
>::value 89820
>::value 590364
>::value 2359073
<pageserver::tenant::disk_btree::Value>::from_slice 3039839
<pageserver::tenant::disk_btree::Value>::from_u64 4513257
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append 4513259
>::append 6
>::append 16
>::append 592
>::append 2000
>::append 4000
>::append 195179
>::append 4311466
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append_internal 4521622
>::append_internal 4
>::append_internal 16
>::append_internal 592
>::append_internal 2000
>::append_internal 4008
>::append_internal 195377
>::append_internal 4319625
<pageserver::tenant::disk_btree::BuildNode<2>>::push 4537650
>::push 4
>::push 16
>::push 592
>::push 2002
>::push 195770
>::push 4339266

Generated by: LCOV version 2.1-beta