LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src
- keyspace.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
49aa928ec5b4b510172d8b5c6d154da28e70a46c.info
Lines:
97.1 %
967
939
Test Date:
2024-11-13 18:23:39
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::KeySpace>::merge::{closure#0}
20
pageserver_api::keyspace::tests::kr
46
<pageserver_api::keyspace::KeySpace>::partition
290
<pageserver_api::keyspace::KeyPartitioning>::into_sparse
414
<pageserver_api::keyspace::SparseKeyPartitioning>::into_dense
538
<pageserver_api::keyspace::SparseKeyPartitioning>::into_dense::{closure#0}
538
pageserver_api::keyspace::tests::do_fragment::{closure#0}
687
<pageserver_api::keyspace::KeyPartitioning>::new
828
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
1132
<pageserver_api::keyspace::ShardedRange>::distance_to_next_boundary
1943
<pageserver_api::keyspace::KeySpaceAccum>::raw_size
2449
<pageserver_api::keyspace::ShardedRange>::fragment
2752
<pageserver_api::keyspace::ShardedRange>::new
2759
<pageserver_api::keyspace::KeySpace>::single
21924
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_key
603878
<pageserver_api::keyspace::KeySpace>::contains
705752
<pageserver_api::keyspace::KeySpace>::overlaps
707709
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace::{closure#0}
731624
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_keyspace
845628
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#1}
1476141
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#0}
1499407
<pageserver_api::keyspace::KeySpace>::merge
1697423
<pageserver_api::keyspace::KeySpace>::total_raw_size::{closure#0}
1926432
<pageserver_api::keyspace::KeySpace>::overlaps_at::{closure#0}
1961027
<pageserver_api::keyspace::KeySpaceAccum>::to_keyspace
1961927
<pageserver_api::keyspace::KeySpaceAccum>::new
2172040
<pageserver_api::keyspace::KeySpace>::is_empty
2774439
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_range
2808250
<pageserver_api::keyspace::KeySpace>::start::{closure#0}
3044034
<pageserver_api::keyspace::KeySpace>::end::{closure#0}
3044326
<pageserver_api::keyspace::KeySpace>::overlaps_at
3209697
<pageserver_api::keyspace::KeySpaceRandomAccum>::consume_keyspace
3394826
<pageserver_api::keyspace::KeySpace>::total_raw_size
3402145
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with
3648050
<pageserver_api::keyspace::KeySpace>::start
3648088
<pageserver_api::keyspace::KeySpace>::end
3648380
<pageserver_api::keyspace::KeySpaceAccum>::add_key
4081350
pageserver_api::keyspace::singleton_range
4685228
<pageserver_api::keyspace::KeySpaceAccum>::add_range
5163380
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace
6441959
<pageserver_api::keyspace::ShardedRange>::raw_size
7089815
pageserver_api::keyspace::contiguous_range_len
7091240
<pageserver_api::keyspace::KeySpaceRandomAccum>::new
8766151
pageserver_api::keyspace::is_contiguous_range
14183373
Generated by:
LCOV version 2.1-beta