LCOV - code coverage report
Current view: top level - libs/pageserver_api/src - keyspace.rs (source / functions) Coverage Total Hit
Test: 1c072cf775425a8f441e533586eea4edd880d500.info Lines: 97.1 % 967 939
Test Date: 2025-02-14 11:35:56 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::KeySpace>::merge::{closure#0} 40
pageserver_api::keyspace::tests::kr 46
<pageserver_api::keyspace::KeySpace>::partition 645
pageserver_api::keyspace::tests::do_fragment::{closure#0} 687
<pageserver_api::keyspace::KeyPartitioning>::into_sparse 897
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 1181
<pageserver_api::keyspace::SparseKeyPartitioning>::into_dense::{closure#0} 1181
<pageserver_api::keyspace::KeySpace>::contains 1580
<pageserver_api::keyspace::KeyPartitioning>::new 1794
<pageserver_api::keyspace::ShardedRange>::distance_to_next_boundary 2302
<pageserver_api::keyspace::KeySpaceAccum>::consume_keyspace 2568
<pageserver_api::keyspace::ShardedRange>::fragment 4846
<pageserver_api::keyspace::ShardedRange>::new 4853
<pageserver_api::keyspace::KeySpace>::single 5296
<pageserver_api::keyspace::KeySpaceAccum>::raw_size 5564
<pageserver_api::keyspace::KeySpace>::overlaps 5691
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_key 1208543
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace::{closure#0} 1463634
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_keyspace 1767985
<pageserver_api::keyspace::KeySpace>::overlaps_at::{closure#0} 2477096
<pageserver_api::keyspace::KeySpace>::total_raw_size::{closure#0} 2755771
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#1} 2917811
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with::{closure#0} 2965766
<pageserver_api::keyspace::KeySpace>::merge 3474938
<pageserver_api::keyspace::KeySpaceAccum>::to_keyspace 4117147
<pageserver_api::keyspace::KeySpaceAccum>::new 4578407
<pageserver_api::keyspace::KeySpace>::overlaps_at 4938256
<pageserver_api::keyspace::KeySpaceRandomAccum>::add_range 5619763
<pageserver_api::keyspace::KeySpace>::is_empty 5633635
<pageserver_api::keyspace::KeySpace>::total_raw_size 5672973
<pageserver_api::keyspace::KeySpace>::start::{closure#0} 6136752
<pageserver_api::keyspace::KeySpace>::end::{closure#0} 6137336
<pageserver_api::keyspace::KeySpaceRandomAccum>::consume_keyspace 6949836
<pageserver_api::keyspace::KeySpace>::remove_overlapping_with 7797296
<pageserver_api::keyspace::KeySpace>::start 7797372
<pageserver_api::keyspace::KeySpace>::end 7797956
<pageserver_api::keyspace::KeySpaceAccum>::add_key 8200250
pageserver_api::keyspace::singleton_range 9408793
<pageserver_api::keyspace::KeySpaceAccum>::add_range 10482503
<pageserver_api::keyspace::KeySpaceRandomAccum>::to_keyspace 13092777
<pageserver_api::keyspace::ShardedRange>::raw_size 13238277
pageserver_api::keyspace::contiguous_range_len 13239166
<pageserver_api::keyspace::KeySpaceRandomAccum>::new 17823021
pageserver_api::keyspace::is_contiguous_range 26480116

Generated by: LCOV version 2.1-beta