LCOV - code coverage report
Current view: top level - pageserver/src/tenant - disk_btree.rs (source / functions) Coverage Total Hit
Test: 45c9170b95180e9ecfad9a53e031030abf2a178c.info Lines: 99.2 % 845 838
Test Date: 2025-02-21 15:51:08 Functions: 84.8 % 204 173

Function Name Sort by function name Hit count Sort by function hit count
<&mut pageserver::tenant::disk_btree::tests::TestDisk as pageserver::tenant::block_io::BlockWriter>::write_blk 432
<pageserver::tenant::disk_btree::BuildNode<2>>::compress 49012
>::compress 786
>::compress 1852
>::compress 46370
>::compress 0
>::compress 0
>::compress 4
<pageserver::tenant::disk_btree::BuildNode<2>>::first_key 25749
>::first_key 396
>::first_key 912
>::first_key 24441
>::first_key 0
>::first_key 0
>::first_key 0
<pageserver::tenant::disk_btree::BuildNode<2>>::first_suffix 74761
>::first_suffix 1182
>::first_suffix 2764
>::first_suffix 70811
>::first_suffix 0
>::first_suffix 0
>::first_suffix 4
<pageserver::tenant::disk_btree::BuildNode<2>>::last_suffix 49012
>::last_suffix 786
>::last_suffix 1852
>::last_suffix 46370
>::last_suffix 0
>::last_suffix 0
>::last_suffix 4
<pageserver::tenant::disk_btree::BuildNode<2>>::new 29895
>::new 400
>::new 2095
>::new 27388
>::new 4
>::new 4
>::new 4
<pageserver::tenant::disk_btree::BuildNode<2>>::pack 29374
>::pack 400
>::pack 1630
>::pack 27336
>::pack 0
>::pack 4
>::pack 4
<pageserver::tenant::disk_btree::BuildNode<2>>::push 14513125
>::push 391390
>::push 1096048
>::push 13021643
>::push 8
>::push 32
>::push 4004
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append 14438355
>::append 390208
>::append 8068
>::append 12
>::append 32
>::append 4000
>::append 1093284
>::append 12942751
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append_internal 14464100
>::append_internal 390604
>::append_internal 8084
>::append_internal 8
>::append_internal 32
>::append_internal 4000
>::append_internal 1094196
>::append_internal 12967176
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::borrow_writer 4095304
>::borrow_writer 17080
>::borrow_writer 4078224
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::finish 3625
>::finish 4
>::finish 8
>::finish 4
>::finish 4
>::finish 718
>::finish 2887
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::flush_node 25749
>::flush_node 396
>::flush_node 16
>::flush_node 0
>::flush_node 0
>::flush_node 0
>::flush_node 912
>::flush_node 24425
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::new 4146
>::new 4
>::new 8
>::new 4
>::new 4
>::new 4
>::new 1183
>::new 2939
<pageserver::tenant::disk_btree::DiskBtreeIterator>::next 9295056
::next 4647528
::next::{closure#0} 4647528
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::dump 40
>::dump 0
>::dump::{closure#0} 0
>::dump 0
>::dump::{closure#0} 0
>::dump 8
>::dump::{closure#0} 8
>::dump 4
>::dump::{closure#0} 4
>::dump 4
>::dump::{closure#0} 4
>::dump 4
>::dump::{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} 12
>::dump::{closure#0}::{closure#0} 0
>::dump::{closure#0}::{closure#0} 0
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::get 1612600
>::get 0
>::get::{closure#0} 0
>::get 790216
>::get::{closure#0} 790216
>::get 8000
>::get::{closure#0} 8000
>::get 44
>::get::{closure#0} 44
>::get 8040
>::get::{closure#0} 8040
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::get::{closure#0}::{closure#0} 406252
>::get::{closure#0}::{closure#0} 0
>::get::{closure#0}::{closure#0} 390212
>::get::{closure#0}::{closure#0} 8000
>::get::{closure#0}::{closure#0} 40
>::get::{closure#0}::{closure#0} 8000
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::into_stream 482425
>::into_stream 40
>::into_stream 45404
>::into_stream 436969
>::into_stream 4
>::into_stream 8
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::iter 1396
>::iter 244
>::iter 1148
>::iter 4
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::new 482777
>::new 40
>::new 45376
>::new 437341
>::new 4
>::new 8
>::new 4
>::new 4
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}> 823220
>::visit::<::dump::{closure#0}::{closure#0}> 0
>::visit::<::index_entries::{closure#0}::{closure#0}> 812
>::visit:: 0
>::visit::<>::get::{closure#0}::{closure#0}> 790216
>::visit::<>::get::{closure#0}::{closure#0}> 8000
>::visit:: 4
>::visit::<>::get::{closure#0}::{closure#0}> 44
>::visit:: 4
>::visit:: 4
>::visit:: 4
>::visit:: 4
>::visit::<>::get::{closure#0}::{closure#0}> 8040
>::visit:: 16088
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}>::{closure#0} 823220
>::visit::<::dump::{closure#0}::{closure#0}>::{closure#0} 0
>::visit::<::index_entries::{closure#0}::{closure#0}>::{closure#0} 812
>::visit::::{closure#0} 0
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 790216
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 8000
>::visit::::{closure#0} 4
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 44
>::visit::::{closure#0} 4
>::visit::::{closure#0} 4
>::visit::::{closure#0} 4
>::visit::::{closure#0} 4
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 8040
>::visit::::{closure#0} 16088
<pageserver::tenant::disk_btree::OnDiskNode<6>>::binary_search 2556498
>::binary_search 1580832
>::binary_search 47212
>::binary_search 904266
>::binary_search 60
>::binary_search 24128
<pageserver::tenant::disk_btree::OnDiskNode<6>>::deparse 3004130
>::deparse 1981232
>::deparse 49020
>::deparse 945658
>::deparse 92
>::deparse 28128
<pageserver::tenant::disk_btree::OnDiskNode<6>>::value 14124731
>::value 1571032
>::value 2310552
>::value 10063367
>::value 140
>::value 179640
<pageserver::tenant::disk_btree::Value>::from_blknum 25749
<pageserver::tenant::disk_btree::Value>::from_slice 14124731
<pageserver::tenant::disk_btree::Value>::from_u64 14438351
<pageserver::tenant::disk_btree::Value>::is_offset 0
<pageserver::tenant::disk_btree::Value>::to_blknum 1250869
<pageserver::tenant::disk_btree::Value>::to_u64 12861814
<pageserver::tenant::disk_btree::tests::TestDisk as pageserver::tenant::block_io::BlockReader>::block_cursor 822432
<pageserver::tenant::disk_btree::tests::TestDisk>::new 20
<pageserver::tenant::disk_btree::tests::TestDisk>::read_blk 2033512
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::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#2} 20
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#3} 20
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#4} 32
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::basic::{closure#0}::{closure#7} 0
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::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::lots_of_keys::{closure#0}::{closure#0} 167640
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#3} 4000
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#4} 4000
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::particular_data::{closure#0}::{closure#0} 8000
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::tests::unsorted_input 4

Generated by: LCOV version 2.1-beta