LCOV - code coverage report
Current view: top level - pageserver/src/tenant - disk_btree.rs (source / functions) Coverage Total Hit
Test: 4f58e98c51285c7fa348e0b410c88a10caf68ad2.info Lines: 99.2 % 845 838
Test Date: 2025-01-07 20:58:07 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 2
pageserver::tenant::disk_btree::tests::basic 4
pageserver::tenant::disk_btree::tests::basic 2
pageserver::tenant::disk_btree::tests::basic::{closure#0} 2
pageserver::tenant::disk_btree::tests::lots_of_keys 4
pageserver::tenant::disk_btree::tests::lots_of_keys 2
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0} 2
pageserver::tenant::disk_btree::tests::particular_data 4
pageserver::tenant::disk_btree::tests::particular_data 2
pageserver::tenant::disk_btree::tests::particular_data::{closure#0} 2
pageserver::tenant::disk_btree::tests::random_data 4
pageserver::tenant::disk_btree::tests::random_data 2
pageserver::tenant::disk_btree::tests::random_data::{closure#0} 2
<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::basic::{closure#0}::{closure#5} 8
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#6} 8
<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 216
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::iter 698
>::iter 2
>::iter 122
>::iter 574
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::finish 1778
>::finish 2
>::finish 2
>::finish 2
>::finish 4
>::finish 328
>::finish 1440
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::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::new 2012
>::new 2
>::new 2
>::new 2
>::new 2
>::new 4
>::new 534
>::new 1466
pageserver::tenant::disk_btree::tests::particular_data::{closure#0}::{closure#0} 4000
<pageserver::tenant::disk_btree::BuildNode<2>>::first_key 12892
>::first_key 0
>::first_key 0
>::first_key 0
>::first_key 198
>::first_key 456
>::first_key 12238
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::flush_node 12892
>::flush_node 0
>::flush_node 0
>::flush_node 0
>::flush_node 8
>::flush_node 198
>::flush_node 456
>::flush_node 12230
<pageserver::tenant::disk_btree::Value>::from_blknum 12892
<pageserver::tenant::disk_btree::BuildNode<2>>::pack 14670
>::pack 0
>::pack 2
>::pack 2
>::pack 200
>::pack 784
>::pack 13682
<pageserver::tenant::disk_btree::BuildNode<2>>::new 14904
>::new 2
>::new 2
>::new 2
>::new 200
>::new 990
>::new 13708
<pageserver::tenant::disk_btree::BuildNode<2>>::compress 24526
>::compress 0
>::compress 0
>::compress 2
>::compress 394
>::compress 926
>::compress 23204
<pageserver::tenant::disk_btree::BuildNode<2>>::last_suffix 24526
>::last_suffix 0
>::last_suffix 0
>::last_suffix 2
>::last_suffix 394
>::last_suffix 926
>::last_suffix 23204
<pageserver::tenant::disk_btree::BuildNode<2>>::first_suffix 37418
>::first_suffix 0
>::first_suffix 0
>::first_suffix 2
>::first_suffix 592
>::first_suffix 1382
>::first_suffix 35442
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<_, _>>::get::{closure#0}::{closure#0} 203237
>::get::{closure#0}::{closure#0} 0
>::get::{closure#0}::{closure#0} 20
>::get::{closure#0}::{closure#0} 4000
>::get::{closure#0}::{closure#0} 4000
>::get::{closure#0}::{closure#0} 195217
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::into_stream 242353
>::into_stream 2
>::into_stream 4
>::into_stream 20
>::into_stream 22662
>::into_stream 219665
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::new 242559
>::new 2
>::new 2
>::new 2
>::new 4
>::new 20
>::new 22654
>::new 219875
<pageserver::tenant::disk_btree::tests::TestDisk as pageserver::tenant::block_io::BlockReader>::block_cursor 411327
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}> 411721
>::visit::<::dump::{closure#0}::{closure#0}> 0
>::visit:: 0
>::visit:: 2
>::visit:: 2
>::visit:: 2
>::visit:: 2
>::visit:: 2
>::visit::<>::get::{closure#0}::{closure#0}> 22
>::visit::<::index_entries::{closure#0}::{closure#0}> 406
>::visit::<>::get::{closure#0}::{closure#0}> 4000
>::visit::<>::get::{closure#0}::{closure#0}> 4020
>::visit:: 8044
>::visit::<>::get::{closure#0}::{closure#0}> 395219
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}>::{closure#0} 411721
>::visit::<::dump::{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::<>::get::{closure#0}::{closure#0}>::{closure#0} 22
>::visit::<::index_entries::{closure#0}::{closure#0}>::{closure#0} 406
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 4000
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 4020
>::visit::::{closure#0} 8044
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 395219
<pageserver::tenant::disk_btree::Value>::to_blknum 626187
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::get 806522
>::get 0
>::get::{closure#0} 0
>::get 22
>::get::{closure#0} 22
>::get 4000
>::get::{closure#0} 4000
>::get 4020
>::get::{closure#0} 4020
>::get 395219
>::get::{closure#0} 395219
<pageserver::tenant::disk_btree::tests::TestDisk>::read_blk 1016978
<pageserver::tenant::disk_btree::OnDiskNode<6>>::binary_search 1280253
>::binary_search 30
>::binary_search 12064
>::binary_search 23566
>::binary_search 453955
>::binary_search 790638
<pageserver::tenant::disk_btree::OnDiskNode<6>>::deparse 1504091
>::deparse 46
>::deparse 14064
>::deparse 24470
>::deparse 474673
>::deparse 990838
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::borrow_writer 2047652
>::borrow_writer 8540
>::borrow_writer 2039112
<pageserver::tenant::disk_btree::DiskBtreeIterator>::next 4647750
::next 2323875
::next::{closure#0} 2323875
<pageserver::tenant::disk_btree::Value>::to_u64 6431885
<pageserver::tenant::disk_btree::OnDiskNode<6>>::value 7064096
>::value 70
>::value 89820
>::value 785849
>::value 1155214
>::value 5033143
<pageserver::tenant::disk_btree::Value>::from_slice 7064096
<pageserver::tenant::disk_btree::Value>::from_u64 7219081
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append 7219083
>::append 6
>::append 16
>::append 2000
>::append 4034
>::append 195215
>::append 546440
>::append 6471372
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append_internal 7231973
>::append_internal 4
>::append_internal 16
>::append_internal 2000
>::append_internal 4042
>::append_internal 195413
>::append_internal 546896
>::append_internal 6483602
<pageserver::tenant::disk_btree::BuildNode<2>>::push 7256510
>::push 4
>::push 16
>::push 2002
>::push 195807
>::push 547822
>::push 6510859

Generated by: LCOV version 2.1-beta