LCOV - code coverage report
Current view: top level - pageserver/src/tenant - disk_btree.rs (source / functions) Coverage Total Hit
Test: 2b0730d767f560e20b6748f57465922aa8bb805e.info Lines: 98.9 % 846 837
Test Date: 2024-09-25 14:04:07 Functions: 82.8 % 209 173

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::disk_btree::DiskBtreeError as core::fmt::Display>::fmt 0
>::from 0
::source 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::unsorted_input 6
pageserver::tenant::disk_btree::tests::basic 12
pageserver::tenant::disk_btree::tests::basic 6
pageserver::tenant::disk_btree::tests::basic::{closure#0} 6
pageserver::tenant::disk_btree::tests::lots_of_keys 12
pageserver::tenant::disk_btree::tests::lots_of_keys 6
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0} 6
pageserver::tenant::disk_btree::tests::particular_data 12
pageserver::tenant::disk_btree::tests::particular_data 6
pageserver::tenant::disk_btree::tests::particular_data::{closure#0} 6
pageserver::tenant::disk_btree::tests::random_data 12
pageserver::tenant::disk_btree::tests::random_data 6
pageserver::tenant::disk_btree::tests::random_data::{closure#0} 6
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::dump::{closure#0}::{closure#0} 18
>::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} 18
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#5} 24
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#6} 24
<pageserver::tenant::disk_btree::tests::TestDisk>::new 30
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#2} 30
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#3} 30
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#0} 48
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#1} 48
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#4} 48
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#8} 48
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#9} 48
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::dump 60
>::dump 0
>::dump::{closure#0} 0
>::dump 0
>::dump::{closure#0} 0
>::dump 6
>::dump::{closure#0} 6
>::dump 6
>::dump::{closure#0} 6
>::dump 6
>::dump::{closure#0} 6
>::dump 12
>::dump::{closure#0} 12
<&mut pageserver::tenant::disk_btree::tests::TestDisk as pageserver::tenant::block_io::BlockWriter>::write_blk 648
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::iter 1872
>::iter 6
>::iter 276
>::iter 1590
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::finish 5154
>::finish 6
>::finish 6
>::finish 6
>::finish 12
>::finish 918
>::finish 4206
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::new 5772
>::new 6
>::new 6
>::new 6
>::new 6
>::new 12
>::new 1494
>::new 4242
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#3} 6000
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#4} 6000
pageserver::tenant::disk_btree::tests::particular_data::{closure#0}::{closure#0} 12000
<pageserver::tenant::disk_btree::BuildNode<2>>::first_key 38658
>::first_key 0
>::first_key 0
>::first_key 0
>::first_key 594
>::first_key 1368
>::first_key 36696
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::flush_node 38658
>::flush_node 0
>::flush_node 0
>::flush_node 0
>::flush_node 24
>::flush_node 594
>::flush_node 1368
>::flush_node 36672
<pageserver::tenant::disk_btree::Value>::from_blknum 38658
<pageserver::tenant::disk_btree::BuildNode<2>>::pack 43812
>::pack 0
>::pack 6
>::pack 6
>::pack 600
>::pack 2286
>::pack 40914
<pageserver::tenant::disk_btree::BuildNode<2>>::new 44430
>::new 6
>::new 6
>::new 6
>::new 600
>::new 2862
>::new 40950
<pageserver::tenant::disk_btree::BuildNode<2>>::compress 73557
>::compress 0
>::compress 0
>::compress 6
>::compress 1181
>::compress 2778
>::compress 69592
<pageserver::tenant::disk_btree::BuildNode<2>>::last_suffix 73557
>::last_suffix 0
>::last_suffix 0
>::last_suffix 6
>::last_suffix 1181
>::last_suffix 2778
>::last_suffix 69592
<pageserver::tenant::disk_btree::BuildNode<2>>::first_suffix 112215
>::first_suffix 0
>::first_suffix 0
>::first_suffix 6
>::first_suffix 1775
>::first_suffix 4146
>::first_suffix 106288
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#1} 119460
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#2} 120000
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#0} 251460
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::get::{closure#0}::{closure#0} 609382
>::get::{closure#0}::{closure#0} 0
>::get::{closure#0}::{closure#0} 60
>::get::{closure#0}::{closure#0} 12000
>::get::{closure#0}::{closure#0} 12000
>::get::{closure#0}::{closure#0} 585322
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::new 642007
>::new 6
>::new 6
>::new 6
>::new 12
>::new 60
>::new 24491
>::new 617426
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::into_stream 832238
>::into_stream 6
>::into_stream 12
>::into_stream 60
>::into_stream 89394
>::into_stream 742766
<pageserver::tenant::disk_btree::tests::TestDisk as pageserver::tenant::block_io::BlockReader>::block_cursor 1233652
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}> 1234834
>::visit::::{closure#0}::{closure#0}> 0
>::visit::<::dump::{closure#0}::{closure#0}> 0
>::visit:: 0
>::visit:: 6
>::visit:: 6
>::visit:: 6
>::visit:: 6
>::visit:: 6
>::visit::<>::get::{closure#0}::{closure#0}> 66
>::visit::<::load_keys::{closure#0}::{closure#0}> 1218
>::visit::<>::get::{closure#0}::{closure#0}> 12000
>::visit::<>::get::{closure#0}::{closure#0}> 12060
>::visit:: 24132
>::visit::<>::get::{closure#0}::{closure#0}> 1185328
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}>::{closure#0} 1234834
>::visit::::{closure#0}::{closure#0}>::{closure#0} 0
>::visit::<::dump::{closure#0}::{closure#0}>::{closure#0} 0
>::visit::::{closure#0} 0
>::visit::::{closure#0} 6
>::visit::::{closure#0} 6
>::visit::::{closure#0} 6
>::visit::::{closure#0} 6
>::visit::::{closure#0} 6
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 66
>::visit::<::load_keys::{closure#0}::{closure#0}>::{closure#0} 1218
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 12000
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 12060
>::visit::::{closure#0} 24132
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 1185328
<pageserver::tenant::disk_btree::Value>::to_blknum 1962644
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::get 2418908
>::get 0
>::get::{closure#0} 0
>::get 66
>::get::{closure#0} 66
>::get 12000
>::get::{closure#0} 12000
>::get 12060
>::get::{closure#0} 12060
>::get 1185328
>::get::{closure#0} 1185328
<pageserver::tenant::disk_btree::tests::TestDisk>::read_blk 3050276
<pageserver::tenant::disk_btree::OnDiskNode<6>>::binary_search 4029692
>::binary_search 90
>::binary_search 36192
>::binary_search 92106
>::binary_search 1530048
>::binary_search 2371256
<pageserver::tenant::disk_btree::OnDiskNode<6>>::deparse 4701337
>::deparse 138
>::deparse 42192
>::deparse 94818
>::deparse 1592333
>::deparse 2971856
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::borrow_writer 6142314
>::borrow_writer 25146
>::borrow_writer 6117168
<pageserver::tenant::disk_btree::DiskBtreeIterator>::next 13937632
::next 6968816
::next::{closure#0} 6968816
<pageserver::tenant::disk_btree::Value>::to_u64 19074088
<pageserver::tenant::disk_btree::OnDiskNode<6>>::value 21054804
>::value 210
>::value 269460
>::value 2356560
>::value 3378364
>::value 15050210
<pageserver::tenant::disk_btree::Value>::from_slice 21054804
<pageserver::tenant::disk_btree::Value>::from_u64 21655084
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append 21655090
>::append 18
>::append 48
>::append 6000
>::append 12102
>::append 585316
>::append 1638552
>::append 19413054
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append_internal 21693742
>::append_internal 12
>::append_internal 48
>::append_internal 6000
>::append_internal 12126
>::append_internal 585910
>::append_internal 1639920
>::append_internal 19449726
<pageserver::tenant::disk_btree::BuildNode<2>>::push 21767327
>::push 12
>::push 48
>::push 6006
>::push 587091
>::push 1642698
>::push 19531472

Generated by: LCOV version 2.1-beta