LCOV - code coverage report
Current view: top level - pageserver/src/tenant - disk_btree.rs (source / functions) Coverage Total Hit
Test: 1c072cf775425a8f441e533586eea4edd880d500.info Lines: 99.2 % 845 838
Test Date: 2025-02-14 11:35:56 Functions: 84.8 % 204 173

Function Name Sort by function name Hit count Sort by function hit count
<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 4
pageserver::tenant::disk_btree::tests::basic 8
pageserver::tenant::disk_btree::tests::basic 4
pageserver::tenant::disk_btree::tests::basic::{closure#0} 4
pageserver::tenant::disk_btree::tests::lots_of_keys 8
pageserver::tenant::disk_btree::tests::lots_of_keys 4
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0} 4
pageserver::tenant::disk_btree::tests::particular_data 8
pageserver::tenant::disk_btree::tests::particular_data 4
pageserver::tenant::disk_btree::tests::particular_data::{closure#0} 4
pageserver::tenant::disk_btree::tests::random_data 8
pageserver::tenant::disk_btree::tests::random_data 4
pageserver::tenant::disk_btree::tests::random_data::{closure#0} 4
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::dump::{closure#0}::{closure#0} 12
>::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} 12
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#5} 16
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#6} 16
<pageserver::tenant::disk_btree::tests::TestDisk>::new 20
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#2} 20
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#3} 20
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#0} 32
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#1} 32
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#4} 32
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#8} 32
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#9} 32
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::dump 40
>::dump 0
>::dump::{closure#0} 0
>::dump 0
>::dump::{closure#0} 0
>::dump 4
>::dump::{closure#0} 4
>::dump 4
>::dump::{closure#0} 4
>::dump 4
>::dump::{closure#0} 4
>::dump 8
>::dump::{closure#0} 8
<&mut pageserver::tenant::disk_btree::tests::TestDisk as pageserver::tenant::block_io::BlockWriter>::write_blk 433
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::iter 1396
>::iter 4
>::iter 244
>::iter 1148
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::finish 3649
>::finish 4
>::finish 4
>::finish 4
>::finish 8
>::finish 706
>::finish 2923
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#3} 4000
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#4} 4000
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::new 4170
>::new 4
>::new 4
>::new 4
>::new 4
>::new 8
>::new 1171
>::new 2975
pageserver::tenant::disk_btree::tests::particular_data::{closure#0}::{closure#0} 8000
<pageserver::tenant::disk_btree::BuildNode<2>>::first_key 25750
>::first_key 0
>::first_key 0
>::first_key 0
>::first_key 397
>::first_key 912
>::first_key 24441
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::flush_node 25750
>::flush_node 0
>::flush_node 0
>::flush_node 0
>::flush_node 16
>::flush_node 397
>::flush_node 912
>::flush_node 24425
<pageserver::tenant::disk_btree::Value>::from_blknum 25750
<pageserver::tenant::disk_btree::BuildNode<2>>::pack 29399
>::pack 0
>::pack 4
>::pack 4
>::pack 401
>::pack 1618
>::pack 27372
<pageserver::tenant::disk_btree::BuildNode<2>>::new 29920
>::new 4
>::new 4
>::new 4
>::new 401
>::new 2083
>::new 27424
<pageserver::tenant::disk_btree::BuildNode<2>>::compress 48960
>::compress 0
>::compress 0
>::compress 4
>::compress 788
>::compress 1844
>::compress 46324
<pageserver::tenant::disk_btree::BuildNode<2>>::last_suffix 48960
>::last_suffix 0
>::last_suffix 0
>::last_suffix 4
>::last_suffix 788
>::last_suffix 1844
>::last_suffix 46324
<pageserver::tenant::disk_btree::BuildNode<2>>::first_suffix 74710
>::first_suffix 0
>::first_suffix 0
>::first_suffix 4
>::first_suffix 1185
>::first_suffix 2756
>::first_suffix 70765
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#1} 79640
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#2} 80000
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#0} 167640
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::get::{closure#0}::{closure#0} 406161
>::get::{closure#0}::{closure#0} 0
>::get::{closure#0}::{closure#0} 40
>::get::{closure#0}::{closure#0} 8000
>::get::{closure#0}::{closure#0} 8000
>::get::{closure#0}::{closure#0} 390121
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::into_stream 556931
>::into_stream 4
>::into_stream 8
>::into_stream 40
>::into_stream 5288
>::into_stream 551591
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::new 557341
>::new 4
>::new 4
>::new 4
>::new 8
>::new 40
>::new 5276
>::new 552005
<pageserver::tenant::disk_btree::tests::TestDisk as pageserver::tenant::block_io::BlockReader>::block_cursor 822341
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}> 823129
>::visit::<::dump::{closure#0}::{closure#0}> 0
>::visit:: 0
>::visit:: 4
>::visit:: 4
>::visit:: 4
>::visit:: 4
>::visit:: 4
>::visit::<>::get::{closure#0}::{closure#0}> 44
>::visit::<::index_entries::{closure#0}::{closure#0}> 812
>::visit::<>::get::{closure#0}::{closure#0}> 8000
>::visit::<>::get::{closure#0}::{closure#0}> 8040
>::visit:: 16088
>::visit::<>::get::{closure#0}::{closure#0}> 790125
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}>::{closure#0} 823129
>::visit::<::dump::{closure#0}::{closure#0}>::{closure#0} 0
>::visit::::{closure#0} 0
>::visit::::{closure#0} 4
>::visit::::{closure#0} 4
>::visit::::{closure#0} 4
>::visit::::{closure#0} 4
>::visit::::{closure#0} 4
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 44
>::visit::<::index_entries::{closure#0}::{closure#0}>::{closure#0} 812
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 8000
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 8040
>::visit::::{closure#0} 16088
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 790125
<pageserver::tenant::disk_btree::Value>::to_blknum 1365958
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::get 1612418
>::get 0
>::get::{closure#0} 0
>::get 44
>::get::{closure#0} 44
>::get 8000
>::get::{closure#0} 8000
>::get 8040
>::get::{closure#0} 8040
>::get 790125
>::get::{closure#0} 790125
<pageserver::tenant::disk_btree::tests::TestDisk>::read_blk 2033332
<pageserver::tenant::disk_btree::OnDiskNode<6>>::binary_search 2746002
>::binary_search 60
>::binary_search 7096
>::binary_search 24128
>::binary_search 1134067
>::binary_search 1580651
<pageserver::tenant::disk_btree::OnDiskNode<6>>::deparse 3194397
>::deparse 92
>::deparse 8904
>::deparse 28128
>::deparse 1176221
>::deparse 1981052
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::borrow_writer 4117969
>::borrow_writer 17080
>::borrow_writer 4100889
<pageserver::tenant::disk_btree::DiskBtreeIterator>::next 9294874
::next 4647437
::next::{closure#0} 4647437
<pageserver::tenant::disk_btree::Value>::to_u64 13143095
<pageserver::tenant::disk_btree::Value>::from_u64 14430212
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append 14430216
>::append 12
>::append 32
>::append 4000
>::append 8068
>::append 390117
>::append 1085236
>::append 12942751
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append_internal 14455962
>::append_internal 8
>::append_internal 32
>::append_internal 4000
>::append_internal 8084
>::append_internal 390514
>::append_internal 1086148
>::append_internal 12967176
<pageserver::tenant::disk_btree::BuildNode<2>>::push 14504942
>::push 8
>::push 32
>::push 4004
>::push 391302
>::push 1087992
>::push 13021604
<pageserver::tenant::disk_btree::OnDiskNode<6>>::value 14521101
>::value 140
>::value 179640
>::value 1570760
>::value 2182468
>::value 10588093
<pageserver::tenant::disk_btree::Value>::from_slice 14521101

Generated by: LCOV version 2.1-beta