LCOV - code coverage report
Current view: top level - libs/pageserver_api/src - keyspace.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 97.1 % 967 939
Test Date: 2024-10-22 22:13:45 Functions: 97.1 % 70 68

Function Name Sort by function name Hit count Sort by function hit count
<pageserver_api::keyspace::KeySpace as core::fmt::Display>::fmt 0
pageserver_api::keyspace::tests::dump_keyspace 0
pageserver_api::keyspace::tests::contiguous_range_check 1
pageserver_api::keyspace::tests::keyspace_add_range 1
pageserver_api::keyspace::tests::keyspace_consume 1
pageserver_api::keyspace::tests::keyspace_overlaps 1
pageserver_api::keyspace::tests::shard_identity_keyspaces_forkno_gap 1
pageserver_api::keyspace::tests::shard_identity_keyspaces_one_relation 1
pageserver_api::keyspace::tests::shard_identity_keyspaces_single_key 1
pageserver_api::keyspace::tests::sharded_range_fragment_cross_relation 1
pageserver_api::keyspace::tests::sharded_range_fragment_fuzz 1
pageserver_api::keyspace::tests::sharded_range_fragment_multi_stripe 1
pageserver_api::keyspace::tests::sharded_range_fragment_simple 1
pageserver_api::keyspace::tests::sharded_range_fragment_starting_from_logical_size 1
pageserver_api::keyspace::tests::sharded_range_fragment_tiny_nblocks 1
pageserver_api::keyspace::tests::sharded_range_fragment_unsharded 1
pageserver_api::keyspace::tests::sharded_range_relation_gap 1
pageserver_api::keyspace::tests::test_remove_full_overlapps 1
pageserver_api::keyspace::tests::test_remove_no_overlaps 1
pageserver_api::keyspace::tests::test_remove_one_range_overlaps_multiple 1
pageserver_api::keyspace::tests::test_remove_partial_overlaps 1
pageserver_api::keyspace::tests::keyspace_consume::{closure#0} 3
pageserver_api::keyspace::tests::assert_ks_eq 11
pageserver_api::keyspace::tests::kr 46
<pageserver_api::keyspace::KeySpace>::partition 286
<pageserver_api::keyspace::KeyPartitioning>::into_sparse 410
<pageserver_api::keyspace::SparseKeyPartitioning>::into_dense 534
<pageserver_api::keyspace::SparseKeyPartitioning>::into_dense::{closure#0} 534
pageserver_api::keyspace::tests::do_fragment::{closure#0} 687
<pageserver_api::keyspace::KeyPartitioning>::new 820
pageserver_api::keyspace::tests::do_fragment 1012
<pageserver_api::keyspace::ShardedRange>::page_count 1019
pageserver_api::keyspace::tests::sharded_range_fragment_fuzz::{closure#0} 1073
<pageserver_api::keyspace::KeySpaceAccum>::consume_keyspace 1108
<pageserver_api::keyspace::ShardedRange>::distance_to_next_boundary 1939
<pageserver_api::keyspace::KeySpaceAccum>::raw_size 2397
<pageserver_api::keyspace::ShardedRange>::fragment 2728
<pageserver_api::keyspace::ShardedRange>::new 2735
<pageserver_api::keyspace::KeySpace>::single 8055
<pageserver_api::keyspace::KeySpace>::merge::{closure#0} 69367
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_key 666886
<pageserver_api::keyspace::KeySpace>::contains 691891
<pageserver_api::keyspace::KeySpace>::overlaps 693840
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_keyspace 882038
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace::{closure#0} 1283086
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#0} 1479699
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#1} 1559321
<pageserver_api::keyspace::KeySpace>::merge 1671254
<pageserver_api::keyspace::KeySpace>::total_raw_size::{closure#0} 1971127
<pageserver_api::keyspace::KeySpaceAccum>::to_keyspace 1972175
<pageserver_api::keyspace::KeySpaceAccum>::new 2189479
<pageserver_api::keyspace::KeySpace>::is_empty 2750630
<pageserver_api::keyspace::KeySpace>::start::{closure#0} 2977437
<pageserver_api::keyspace::KeySpace>::end::{closure#0} 2977729
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_range 3047729
<pageserver_api::keyspace::KeySpaceRandomAccum>::consume_keyspace 3342488
<pageserver_api::keyspace::KeySpace>::total_raw_size 3378244
<pageserver_api::keyspace::KeySpace>::overlaps_at 3431712
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with 3611536
<pageserver_api::keyspace::KeySpace>::start 3611574
<pageserver_api::keyspace::KeySpace>::end 3611866
<pageserver_api::keyspace::KeySpaceAccum>::add_key 4081270
pageserver_api::keyspace::singleton_range 4748156
<pageserver_api::keyspace::KeySpace>::overlaps_at::{closure#0} 4750418
<pageserver_api::keyspace::KeySpaceAccum>::add_range 5334963
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace 6323024
<pageserver_api::keyspace::ShardedRange>::raw_size 7306093
pageserver_api::keyspace::contiguous_range_len 7307452
<pageserver_api::keyspace::KeySpaceRandomAccum>::new 8620979
pageserver_api::keyspace::is_contiguous_range 14615859

Generated by: LCOV version 2.1-beta