LCOV - code coverage report
Current view: top level - pageserver/src/tenant - disk_btree.rs (source / functions) Coverage Total Hit
Test: 249f165943bd2c492f96a3f7d250276e4addca1a.info Lines: 98.9 % 846 837
Test Date: 2024-11-20 18:39:52 Functions: 83.6 % 207 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 217
<pageserver::tenant::disk_btree::BuildNode<2>>::compress 24523
>::compress 394
>::compress 926
>::compress 23201
>::compress 0
>::compress 0
>::compress 2
<pageserver::tenant::disk_btree::BuildNode<2>>::first_key 12898
>::first_key 199
>::first_key 456
>::first_key 12243
>::first_key 0
>::first_key 0
>::first_key 0
<pageserver::tenant::disk_btree::BuildNode<2>>::first_suffix 37421
>::first_suffix 593
>::first_suffix 1382
>::first_suffix 35444
>::first_suffix 0
>::first_suffix 0
>::first_suffix 2
<pageserver::tenant::disk_btree::BuildNode<2>>::last_suffix 24523
>::last_suffix 394
>::last_suffix 926
>::last_suffix 23201
>::last_suffix 0
>::last_suffix 0
>::last_suffix 2
<pageserver::tenant::disk_btree::BuildNode<2>>::new 14866
>::new 201
>::new 974
>::new 13685
>::new 2
>::new 2
>::new 2
<pageserver::tenant::disk_btree::BuildNode<2>>::pack 14638
>::pack 201
>::pack 772
>::pack 13661
>::pack 0
>::pack 2
>::pack 2
<pageserver::tenant::disk_btree::BuildNode<2>>::push 7256278
>::push 195778
>::push 547704
>::push 6510774
>::push 4
>::push 16
>::push 2002
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append 7218847
>::append 195185
>::append 4034
>::append 6
>::append 16
>::append 2000
>::append 546322
>::append 6471284
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::append_internal 7231743
>::append_internal 195384
>::append_internal 4042
>::append_internal 4
>::append_internal 16
>::append_internal 2000
>::append_internal 546778
>::append_internal 6483519
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::borrow_writer 2047536
>::borrow_writer 8476
>::borrow_writer 2039060
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::finish 1740
>::finish 2
>::finish 4
>::finish 2
>::finish 2
>::finish 316
>::finish 1414
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::flush_node 12898
>::flush_node 199
>::flush_node 8
>::flush_node 0
>::flush_node 0
>::flush_node 0
>::flush_node 456
>::flush_node 12235
<pageserver::tenant::disk_btree::DiskBtreeBuilder<pageserver::tenant::block_io::BlockBuf, 18>>::new 1968
>::new 2
>::new 4
>::new 2
>::new 2
>::new 2
>::new 518
>::new 1438
<pageserver::tenant::disk_btree::DiskBtreeError as core::fmt::Display>::fmt 0
>::from 0
::source 0
::fmt 0
<pageserver::tenant::disk_btree::DiskBtreeIterator>::next 4647362
::next 2323681
::next::{closure#0} 2323681
<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<_, _>>::get 806462
>::get 0
>::get::{closure#0} 0
>::get 395189
>::get::{closure#0} 395189
>::get 4000
>::get::{closure#0} 4000
>::get 22
>::get::{closure#0} 22
>::get 4020
>::get::{closure#0} 4020
<pageserver::tenant::disk_btree::DiskBtreeReader<_, _>>::get::{closure#0}::{closure#0} 203207
>::get::{closure#0}::{closure#0} 0
>::get::{closure#0}::{closure#0} 195187
>::get::{closure#0}::{closure#0} 4000
>::get::{closure#0}::{closure#0} 20
>::get::{closure#0}::{closure#0} 4000
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::into_stream 240310
>::into_stream 20
>::into_stream 21950
>::into_stream 218334
>::into_stream 2
>::into_stream 4
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::iter 666
>::iter 114
>::iter 550
>::iter 2
<pageserver::tenant::disk_btree::DiskBtreeReader<pageserver::tenant::block_io::FileBlockReader, 18>>::new 240516
>::new 20
>::new 21942
>::new 218544
>::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}> 411691
>::visit::<::dump::{closure#0}::{closure#0}> 0
>::visit::<::index_entries::{closure#0}::{closure#0}> 406
>::visit:: 0
>::visit::<>::get::{closure#0}::{closure#0}> 395189
>::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} 411691
>::visit::<::dump::{closure#0}::{closure#0}>::{closure#0} 0
>::visit::<::index_entries::{closure#0}::{closure#0}>::{closure#0} 406
>::visit::::{closure#0} 0
>::visit::<>::get::{closure#0}::{closure#0}>::{closure#0} 395189
>::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 1277196
>::binary_search 790579
>::binary_search 22854
>::binary_search 451669
>::binary_search 30
>::binary_search 12064
<pageserver::tenant::disk_btree::OnDiskNode<6>>::deparse 1501193
>::deparse 990780
>::deparse 23758
>::deparse 472545
>::deparse 46
>::deparse 14064
<pageserver::tenant::disk_btree::OnDiskNode<6>>::value 7059920
>::value 785760
>::value 1153810
>::value 5030460
>::value 70
>::value 89820
<pageserver::tenant::disk_btree::Value>::from_blknum 12898
<pageserver::tenant::disk_btree::Value>::from_slice 7059920
<pageserver::tenant::disk_btree::Value>::from_u64 7218845
<pageserver::tenant::disk_btree::Value>::is_offset 0
<pageserver::tenant::disk_btree::Value>::to_blknum 625203
<pageserver::tenant::disk_btree::Value>::to_u64 6428693
<pageserver::tenant::disk_btree::tests::TestDisk as pageserver::tenant::block_io::BlockReader>::block_cursor 411297
<pageserver::tenant::disk_btree::tests::TestDisk>::new 10
<pageserver::tenant::disk_btree::tests::TestDisk>::read_blk 1016920
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