LCOV - code coverage report
Current view:
top level
-
pageserver/compaction/src
- simulator.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
6fa910d1c9aea142e54ede6987809ef55544c500.info
Lines:
70.6 %
418
295
Test Date:
2024-11-19 23:07:42
Functions:
72.7 %
55
40
Function Name
Hit count
<alloc::sync::Arc<pageserver_compaction::simulator::MockDeltaLayer> as pageserver_compaction::interface::CompactionDeltaLayer<pageserver_compaction::simulator::MockTimeline>>::load_keys
3216
as pageserver_compaction::interface::CompactionDeltaLayer
>::load_keys
1608
as pageserver_compaction::interface::CompactionDeltaLayer
>::load_keys::{closure#0}
1608
<alloc::sync::Arc<pageserver_compaction::simulator::MockDeltaLayer> as pageserver_compaction::interface::CompactionLayer<u64>>::file_size
0
<alloc::sync::Arc<pageserver_compaction::simulator::MockDeltaLayer> as pageserver_compaction::interface::CompactionLayer<u64>>::is_delta
0
<alloc::sync::Arc<pageserver_compaction::simulator::MockDeltaLayer> as pageserver_compaction::interface::CompactionLayer<u64>>::key_range
7316377
<alloc::sync::Arc<pageserver_compaction::simulator::MockDeltaLayer> as pageserver_compaction::interface::CompactionLayer<u64>>::lsn_range
7343796
<alloc::sync::Arc<pageserver_compaction::simulator::MockDeltaLayer> as pageserver_compaction::interface::CompactionLayer<u64>>::short_id
381
<alloc::sync::Arc<pageserver_compaction::simulator::MockImageLayer> as pageserver_compaction::interface::CompactionLayer<u64>>::file_size
0
<alloc::sync::Arc<pageserver_compaction::simulator::MockImageLayer> as pageserver_compaction::interface::CompactionLayer<u64>>::is_delta
0
<alloc::sync::Arc<pageserver_compaction::simulator::MockImageLayer> as pageserver_compaction::interface::CompactionLayer<u64>>::key_range
3
<alloc::sync::Arc<pageserver_compaction::simulator::MockImageLayer> as pageserver_compaction::interface::CompactionLayer<u64>>::lsn_range
7
<alloc::sync::Arc<pageserver_compaction::simulator::MockImageLayer> as pageserver_compaction::interface::CompactionLayer<u64>>::short_id
0
<pageserver_compaction::simulator::MockLayer as core::convert::From<&alloc::sync::Arc<pageserver_compaction::simulator::MockDeltaLayer>>>::from
49
<pageserver_compaction::simulator::MockLayer as core::convert::From<&alloc::sync::Arc<pageserver_compaction::simulator::MockImageLayer>>>::from
0
<pageserver_compaction::simulator::MockLayer as pageserver_compaction::interface::CompactionLayer<u64>>::file_size
208
<pageserver_compaction::simulator::MockLayer as pageserver_compaction::interface::CompactionLayer<u64>>::is_delta
11051
<pageserver_compaction::simulator::MockLayer as pageserver_compaction::interface::CompactionLayer<u64>>::key_range
11913
<pageserver_compaction::simulator::MockLayer as pageserver_compaction::interface::CompactionLayer<u64>>::lsn_range
39336
<pageserver_compaction::simulator::MockLayer as pageserver_compaction::interface::CompactionLayer<u64>>::short_id
185
<pageserver_compaction::simulator::MockLayer>::is_deleted
6041
<pageserver_compaction::simulator::MockLayer>::mark_deleted
47
<pageserver_compaction::simulator::MockRecord as pageserver_compaction::interface::CompactionDeltaEntry<u64>>::key
39825919
<pageserver_compaction::simulator::MockRecord as pageserver_compaction::interface::CompactionDeltaEntry<u64>>::lsn
38893521
<pageserver_compaction::simulator::MockRecord as pageserver_compaction::interface::CompactionDeltaEntry<u64>>::size
839047
<pageserver_compaction::simulator::MockTimeline as core::default::Default>::default
0
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::create_delta
49
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::create_delta::{closure#0}
49
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::create_image
0
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::create_image::{closure#0}
0
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::delete_layer
47
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::delete_layer::{closure#0}
47
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::downcast_delta_layer
1608
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::downcast_delta_layer::{closure#0}
1608
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::get_keyspace
3
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::get_keyspace::{closure#0}
3
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::get_layers
1003
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::get_layers::{closure#0}
1003
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::get_layers::{closure#0}::{closure#0}
6041
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::get_layers::{closure#0}::{closure#1}
5994
<pageserver_compaction::simulator::MockTimeline as pageserver_compaction::interface::CompactionJobExecutor>::get_shard_identity
3
<pageserver_compaction::simulator::MockTimeline>::compact
2000
::compact
1000
::compact::{closure#0}
1000
<pageserver_compaction::simulator::MockTimeline>::compact_if_needed
0
::compact_if_needed
0
::compact_if_needed::{closure#0}
0
<pageserver_compaction::simulator::MockTimeline>::draw_history::<_>
0
::draw_history::<_>
0
::draw_history::
0
<pageserver_compaction::simulator::MockTimeline>::flush_l0
49
<pageserver_compaction::simulator::MockTimeline>::flush_l0::{closure#0}
15964472
<pageserver_compaction::simulator::MockTimeline>::ingest_record
1138800
<pageserver_compaction::simulator::MockTimeline>::ingest_uniform
2397
<pageserver_compaction::simulator::MockTimeline>::new
2
<pageserver_compaction::simulator::MockTimeline>::stats
0
<u64 as pageserver_compaction::interface::CompactionKey>::key_range_size
3
<u64 as pageserver_compaction::interface::CompactionKey>::next
1494
<u64 as pageserver_compaction::interface::CompactionKey>::skip_some
0
Generated by:
LCOV version 2.1-beta