LCOV - code coverage report
Current view: top level - pageserver/src/tenant - disk_btree.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 98.9 % 846 837
Test Date: 2024-10-22 22:13:45 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 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 215
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::iter 628
>::iter 2
>::iter 92
>::iter 534
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::finish 1700
>::finish 2
>::finish 2
>::finish 2
>::finish 4
>::finish 294
>::finish 1396
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::new 1918
>::new 2
>::new 2
>::new 2
>::new 2
>::new 4
>::new 490
>::new 1416
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 12875
>::first_key 0
>::first_key 0
>::first_key 0
>::first_key 197
>::first_key 456
>::first_key 12222
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::flush_node 12875
>::flush_node 0
>::flush_node 0
>::flush_node 0
>::flush_node 8
>::flush_node 197
>::flush_node 456
>::flush_node 12214
<pageserver::tenant::disk_btree::Value>::from_blknum 12875
<pageserver::tenant::disk_btree::BuildNode<2>>::pack 14575
>::pack 0
>::pack 2
>::pack 2
>::pack 199
>::pack 750
>::pack 13622
<pageserver::tenant::disk_btree::BuildNode<2>>::new 14793
>::new 2
>::new 2
>::new 2
>::new 199
>::new 946
>::new 13642
<pageserver::tenant::disk_btree::BuildNode<2>>::compress 24499
>::compress 0
>::compress 0
>::compress 2
>::compress 392
>::compress 926
>::compress 23179
<pageserver::tenant::disk_btree::BuildNode<2>>::last_suffix 24499
>::last_suffix 0
>::last_suffix 0
>::last_suffix 2
>::last_suffix 392
>::last_suffix 926
>::last_suffix 23179
<pageserver::tenant::disk_btree::BuildNode<2>>::first_suffix 37374
>::first_suffix 0
>::first_suffix 0
>::first_suffix 2
>::first_suffix 589
>::first_suffix 1382
>::first_suffix 35401
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} 203064
>::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} 195044
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::new 213345
>::new 2
>::new 2
>::new 2
>::new 4
>::new 20
>::new 8069
>::new 205246
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::into_stream 276862
>::into_stream 2
>::into_stream 4
>::into_stream 20
>::into_stream 29799
>::into_stream 247037
<pageserver::tenant::disk_btree::tests::TestDisk as pageserver::tenant::block_io::BlockReader>::block_cursor 411154
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}> 411548
>::visit::::{closure#0}::{closure#0}> 0
>::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::<::load_keys::{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}> 395046
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}>::{closure#0} 411548
>::visit::::{closure#0}::{closure#0}>::{closure#0} 0
>::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::<::load_keys::{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} 395046
<pageserver::tenant::disk_btree::Value>::to_blknum 653744
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::get 806176
>::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 395046
>::get::{closure#0} 395046
<pageserver::tenant::disk_btree::tests::TestDisk>::read_blk 1016630
<pageserver::tenant::disk_btree::OnDiskNode<6>>::binary_search 1342146
>::binary_search 30
>::binary_search 12064
>::binary_search 30703
>::binary_search 509058
>::binary_search 790291
<pageserver::tenant::disk_btree::OnDiskNode<6>>::deparse 1566000
>::deparse 46
>::deparse 14064
>::deparse 31607
>::deparse 529793
>::deparse 990490
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::borrow_writer 2047438
>::borrow_writer 8382
>::borrow_writer 2039056
<pageserver::tenant::disk_btree::DiskBtreeIterator>::next 4646556
::next 2323278
::next::{closure#0} 2323278
<pageserver::tenant::disk_btree::Value>::to_u64 6357471
<pageserver::tenant::disk_btree::OnDiskNode<6>>::value 7017239
>::value 70
>::value 89820
>::value 785329
>::value 1125947
>::value 5016073
<pageserver::tenant::disk_btree::Value>::from_slice 7017239
<pageserver::tenant::disk_btree::Value>::from_u64 7218466
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append 7218468
>::append 6
>::append 16
>::append 2000
>::append 4034
>::append 195042
>::append 546152
>::append 6471218
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append_internal 7231341
>::append_internal 4
>::append_internal 16
>::append_internal 2000
>::append_internal 4042
>::append_internal 195239
>::append_internal 546608
>::append_internal 6483432
<pageserver::tenant::disk_btree::BuildNode<2>>::push 7255850
>::push 4
>::push 16
>::push 2002
>::push 195631
>::push 547534
>::push 6510663

Generated by: LCOV version 2.1-beta