LCOV - code coverage report
Current view: top level - pageserver/compaction/src - simulator.rs (source / functions) Coverage Total Hit
Test: b9d67f908f91f00e353a27440ba89f642a869959.info Lines: 70.6 % 418 295
Test Date: 2024-11-19 21:44:13 Functions: 72.7 % 55 40

Function Name Sort by function name Hit count Sort by function 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 39837740
<pageserver_compaction::simulator::MockRecord as pageserver_compaction::interface::CompactionDeltaEntry<u64>>::lsn 38905079
<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} 15943600
<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