LCOV - code coverage report
Current view: top level - pageserver/src/tenant - disk_btree.rs (source / functions) Coverage Total Hit
Test: 691a4c28fe7169edd60b367c52d448a0a6605f1f.info Lines: 98.9 % 743 735
Test Date: 2024-05-10 13:18:37 Functions: 81.6 % 207 169

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 216
<pageserver::tenant::disk_btree::BuildNode<2>>::compress 23412
>::compress 392
>::compress 0
>::compress 23018
>::compress 0
>::compress 0
>::compress 2
<pageserver::tenant::disk_btree::BuildNode<2>>::first_key 12308
>::first_key 198
>::first_key 0
>::first_key 12110
>::first_key 0
>::first_key 0
>::first_key 0
<pageserver::tenant::disk_btree::BuildNode<2>>::first_suffix 35720
>::first_suffix 590
>::first_suffix 0
>::first_suffix 35128
>::first_suffix 0
>::first_suffix 0
>::first_suffix 2
<pageserver::tenant::disk_btree::BuildNode<2>>::last_suffix 23412
>::last_suffix 392
>::last_suffix 0
>::last_suffix 23018
>::last_suffix 0
>::last_suffix 0
>::last_suffix 2
<pageserver::tenant::disk_btree::BuildNode<2>>::new 13498
>::new 200
>::new 116
>::new 13176
>::new 2
>::new 2
>::new 2
<pageserver::tenant::disk_btree::BuildNode<2>>::pack 13496
>::pack 200
>::pack 116
>::pack 13176
>::pack 0
>::pack 2
>::pack 2
<pageserver::tenant::disk_btree::BuildNode<2>>::push 6642266
>::push 195633
>::push 816
>::push 6443795
>::push 4
>::push 16
>::push 2002
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append 6606535
>::append 195043
>::append 4034
>::append 6
>::append 16
>::append 2000
>::append 816
>::append 6404620
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append_internal 6618841
>::append_internal 195241
>::append_internal 4042
>::append_internal 4
>::append_internal 16
>::append_internal 2000
>::append_internal 816
>::append_internal 6416722
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::finish 1188
>::finish 2
>::finish 4
>::finish 2
>::finish 2
>::finish 116
>::finish 1062
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::flush_node 12308
>::flush_node 198
>::flush_node 8
>::flush_node 0
>::flush_node 0
>::flush_node 0
>::flush_node 0
>::flush_node 12102
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::new 1190
>::new 2
>::new 4
>::new 2
>::new 2
>::new 2
>::new 116
>::new 1062
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 26>>::borrow_writer 2021974
<pageserver::tenant::disk_btree::DiskBtreeError as core::fmt::Display>::fmt 0
>::from 0
::source 0
::fmt 0
<pageserver::tenant::disk_btree::DiskBtreeReader<&pageserver::tenant::block_io::FileBlockReader, 18>>::get 807230
>::get 526
>::get::{closure#0} 526
>::get 395047
>::get::{closure#0} 395047
>::get 4000
>::get::{closure#0} 4000
>::get 22
>::get::{closure#0} 22
>::get 4020
>::get::{closure#0} 4020
<pageserver::tenant::disk_btree::DiskBtreeReader<&pageserver::tenant::block_io::FileBlockReader, 18>>::get::{closure#0}::{closure#0} 203591
>::get::{closure#0}::{closure#0} 526
>::get::{closure#0}::{closure#0} 195045
>::get::{closure#0}::{closure#0} 4000
>::get::{closure#0}::{closure#0} 20
>::get::{closure#0}::{closure#0} 4000
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::dump 20
>::dump 0
>::dump::{closure#0} 0
>::dump 0
>::dump::{closure#0} 0
>::dump 4
>::dump::{closure#0} 4
>::dump 2
>::dump::{closure#0} 2
>::dump 2
>::dump::{closure#0} 2
>::dump 2
>::dump::{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} 6
>::dump::{closure#0}::{closure#0} 0
>::dump::{closure#0}::{closure#0} 0
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::get_stream_from 63958
>::get_stream_from 20
>::get_stream_from 4
>::get_stream_from 63930
>::get_stream_from 4
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::new 209968
>::new 526
>::new 208802
>::new 4
>::new 626
>::new 2
>::new 4
>::new 2
>::new 2
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}> 620717
>::visit::<>::get::{closure#0}::{closure#0}> 526
>::visit::<::get_value_reconstruct_data::{closure#0}::{closure#0}> 208782
>::visit::::{closure#0}::{closure#0}> 0
>::visit::<::dump::{closure#0}::{closure#0}> 0
>::visit::<::load_keys::{closure#0}::{closure#0}> 266
>::visit:: 0
>::visit::<>::get::{closure#0}::{closure#0}> 395047
>::visit::<>::get::{closure#0}::{closure#0}> 4000
>::visit:: 2
>::visit::<>::get::{closure#0}::{closure#0}> 22
>::visit:: 2
>::visit:: 2
>::visit:: 2
>::visit:: 2
>::visit::<>::get::{closure#0}::{closure#0}> 4020
>::visit:: 8044
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 26>>::visit::<pagectl::layer_map_analyzer::get_holes::{closure#0}::{closure#0}>::{closure#0} 620717
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 526
>::visit::<::get_value_reconstruct_data::{closure#0}::{closure#0}>::{closure#0} 208782
>::visit::::{closure#0}::{closure#0}>::{closure#0} 0
>::visit::<::dump::{closure#0}::{closure#0}>::{closure#0} 0
>::visit::<::load_keys::{closure#0}::{closure#0}>::{closure#0} 266
>::visit::::{closure#0} 0
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 395047
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 4000
>::visit::::{closure#0} 2
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 22
>::visit::::{closure#0} 2
>::visit::::{closure#0} 2
>::visit::::{closure#0} 2
>::visit::::{closure#0} 2
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 4020
>::visit::::{closure#0} 8044
<pageserver::tenant::disk_btree::OnDiskNode<6>>::binary_search 1354266
>::binary_search 790094
>::binary_search 530
>::binary_search 551548
>::binary_search 30
>::binary_search 12064
<pageserver::tenant::disk_btree::OnDiskNode<6>>::deparse 1564359
>::deparse 990096
>::deparse 530
>::deparse 559623
>::deparse 46
>::deparse 14064
<pageserver::tenant::disk_btree::OnDiskNode<6>>::value 3363783
>::value 590092
>::value 530
>::value 2683271
>::value 70
>::value 89820
<pageserver::tenant::disk_btree::Value>::from_blknum 12308
<pageserver::tenant::disk_btree::Value>::from_slice 3363783
<pageserver::tenant::disk_btree::Value>::from_u64 6606533
<pageserver::tenant::disk_btree::Value>::is_offset 0
<pageserver::tenant::disk_btree::Value>::to_blknum 669599
<pageserver::tenant::disk_btree::Value>::to_u64 2688160
<pageserver::tenant::disk_btree::tests::TestDisk as pageserver::tenant::block_io::BlockReader>::block_cursor 411153
<pageserver::tenant::disk_btree::tests::TestDisk>::new 10
<pageserver::tenant::disk_btree::tests::TestDisk>::read_blk 1016236
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::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#2} 10
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#3} 10
pageserver::tenant::disk_btree::tests::basic::{closure#0}::{closure#4} 16
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::basic::{closure#0}::{closure#7} 0
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::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::lots_of_keys::{closure#0}::{closure#0} 83820
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#3} 2000
pageserver::tenant::disk_btree::tests::lots_of_keys::{closure#0}::{closure#4} 2000
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::particular_data::{closure#0}::{closure#0} 4000
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::tests::unsorted_input 2

Generated by: LCOV version 2.1-beta