LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src
- keyspace.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
309d74c7615cee485c3506897fba3db69780454f.info
Lines:
97.1 %
967
939
Test Date:
2025-03-19 16:14:43
Functions:
97.1 %
70
68
Function Name
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>::merge::{closure#0}
68
<pageserver_api::keyspace::KeySpace>::partition
652
pageserver_api::keyspace::tests::do_fragment::{closure#0}
687
<pageserver_api::keyspace::KeyPartitioning>::into_sparse
904
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::SparseKeyPartitioning>::into_dense
1145
<pageserver_api::keyspace::SparseKeyPartitioning>::into_dense::{closure#0}
1145
<pageserver_api::keyspace::KeySpace>::contains
1580
<pageserver_api::keyspace::KeyPartitioning>::new
1808
<pageserver_api::keyspace::ShardedRange>::distance_to_next_boundary
2309
<pageserver_api::keyspace::KeySpaceAccum>::consume_keyspace
2658
<pageserver_api::keyspace::ShardedRange>::fragment
4888
<pageserver_api::keyspace::ShardedRange>::new
4895
<pageserver_api::keyspace::KeySpace>::overlaps
5619
<pageserver_api::keyspace::KeySpaceAccum>::raw_size
5759
<pageserver_api::keyspace::KeySpace>::single
45408
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_key
1208686
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace::{closure#0}
1464740
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_keyspace
1694185
<pageserver_api::keyspace::KeySpace>::overlaps_at::{closure#0}
2520134
<pageserver_api::keyspace::KeySpace>::total_raw_size::{closure#0}
2641409
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#1}
2957908
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#0}
3005874
<pageserver_api::keyspace::KeySpace>::merge
3399771
<pageserver_api::keyspace::KeySpaceAccum>::new
3656684
<pageserver_api::keyspace::KeySpace>::overlaps_at
5019529
<pageserver_api::keyspace::KeySpaceAccum>::to_keyspace
5189083
<pageserver_api::keyspace::KeySpace>::is_empty
5557879
<pageserver_api::keyspace::KeySpace>::total_raw_size
5597311
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_range
5626485
<pageserver_api::keyspace::KeySpace>::start::{closure#0}
6100497
<pageserver_api::keyspace::KeySpace>::end::{closure#0}
6101081
<pageserver_api::keyspace::KeySpaceRandomAccum>::consume_keyspace
6799502
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with
7760603
<pageserver_api::keyspace::KeySpace>::start
7760679
<pageserver_api::keyspace::KeySpace>::end
7761263
<pageserver_api::keyspace::KeySpaceAccum>::add_key
8323044
pageserver_api::keyspace::singleton_range
9531730
<pageserver_api::keyspace::KeySpaceAccum>::add_range
11267643
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace
12906188
pageserver_api::keyspace::contiguous_range_len
13908032
<pageserver_api::keyspace::ShardedRange>::raw_size
13909055
<pageserver_api::keyspace::KeySpaceRandomAccum>::new
17561344
pageserver_api::keyspace::is_contiguous_range
27819767
Generated by:
LCOV version 2.1-beta