LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src
- keyspace.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
7eb96e224e685167ad85f58f858387d8cf253f63.info
Lines:
97.1 %
967
939
Test Date:
2024-09-23 21:23:07
Functions:
97.1 %
70
68
Function Name
Hit count
<pageserver_api::keyspace::KeyPartitioning>::into_sparse
1242
<pageserver_api::keyspace::KeyPartitioning>::new
2484
<pageserver_api::keyspace::KeySpace as core::fmt::Display>::fmt
0
<pageserver_api::keyspace::KeySpace>::contains
2075228
<pageserver_api::keyspace::KeySpace>::end
10825589
<pageserver_api::keyspace::KeySpace>::end::{closure#0}
8922853
<pageserver_api::keyspace::KeySpace>::is_empty
8244251
<pageserver_api::keyspace::KeySpace>::merge
5012484
<pageserver_api::keyspace::KeySpace>::merge::{closure#0}
209083
<pageserver_api::keyspace::KeySpace>::overlaps
2081073
<pageserver_api::keyspace::KeySpace>::overlaps_at
10296855
<pageserver_api::keyspace::KeySpace>::overlaps_at::{closure#0}
12578863
<pageserver_api::keyspace::KeySpace>::partition
870
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with
10824599
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#0}
4436528
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#1}
4676234
<pageserver_api::keyspace::KeySpace>::single
24469
<pageserver_api::keyspace::KeySpace>::start
10824713
<pageserver_api::keyspace::KeySpace>::start::{closure#0}
8921977
<pageserver_api::keyspace::KeySpace>::total_raw_size
10128110
<pageserver_api::keyspace::KeySpace>::total_raw_size::{closure#0}
5909326
<pageserver_api::keyspace::KeySpaceAccum>::add_key
12244002
<pageserver_api::keyspace::KeySpaceAccum>::add_range
16002834
<pageserver_api::keyspace::KeySpaceAccum>::consume_keyspace
3392
<pageserver_api::keyspace::KeySpaceAccum>::new
6565086
<pageserver_api::keyspace::KeySpaceAccum>::raw_size
7353
<pageserver_api::keyspace::KeySpaceAccum>::to_keyspace
5915904
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_key
2000733
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_keyspace
2647345
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_range
9145925
<pageserver_api::keyspace::KeySpaceRandomAccum>::consume_keyspace
10024908
<pageserver_api::keyspace::KeySpaceRandomAccum>::new
25849714
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace
18956164
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace::{closure#0}
3848366
<pageserver_api::keyspace::ShardedRange>::distance_to_next_boundary
2531
<pageserver_api::keyspace::ShardedRange>::fragment
6232
<pageserver_api::keyspace::ShardedRange>::new
6239
<pageserver_api::keyspace::ShardedRange>::page_count
1019
<pageserver_api::keyspace::ShardedRange>::raw_size
21912163
<pageserver_api::keyspace::SparseKeyPartitioning>::into_dense
1614
<pageserver_api::keyspace::SparseKeyPartitioning>::into_dense::{closure#0}
1614
pageserver_api::keyspace::contiguous_range_len
21911594
pageserver_api::keyspace::is_contiguous_range
43826655
pageserver_api::keyspace::singleton_range
14244735
pageserver_api::keyspace::tests::assert_ks_eq
11
pageserver_api::keyspace::tests::contiguous_range_check
1
pageserver_api::keyspace::tests::do_fragment
1012
pageserver_api::keyspace::tests::do_fragment::{closure#0}
687
pageserver_api::keyspace::tests::dump_keyspace
0
pageserver_api::keyspace::tests::keyspace_add_range
1
pageserver_api::keyspace::tests::keyspace_consume
1
pageserver_api::keyspace::tests::keyspace_consume::{closure#0}
3
pageserver_api::keyspace::tests::keyspace_overlaps
1
pageserver_api::keyspace::tests::kr
46
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_fuzz::{closure#0}
1073
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
Generated by:
LCOV version 2.1-beta