LCOV - code coverage report
Current view: top level - pageserver/src - page_cache.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 90.9 % 463 421
Test Date: 2024-02-14 18:05:35 Functions: 91.1 % 56 51

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::page_cache::CacheKey as core::fmt::Debug>::fmt 352516401
::clone 188844469
::eq 163671932
::fmt 0
<pageserver::page_cache::FileId as core::fmt::Debug>::fmt 701351050
::clone 179129660
::eq 332534258
::fmt 0
::hash:: 189687132
<pageserver::page_cache::MaterializedPageHashKey as core::fmt::Debug>::fmt 34213858
::clone 14170695
::eq 7089803
::fmt 0
::hash:: 12953360
<pageserver::page_cache::PageCache>::find_victim 10938932
<pageserver::page_cache::PageCache>::find_victim::{closure#0} 10938943
<pageserver::page_cache::PageCache>::lock_for_read 170506915
<pageserver::page_cache::PageCache>::lock_for_read::{closure#0} 170506985
<pageserver::page_cache::PageCache>::lookup_materialized_page 7398625
<pageserver::page_cache::PageCache>::lookup_materialized_page::{closure#0} 7398637
<pageserver::page_cache::PageCache>::memorize_materialized_page 2316191
<pageserver::page_cache::PageCache>::memorize_materialized_page::{closure#0} 2316191
<pageserver::page_cache::PageCache>::new 701
<pageserver::page_cache::PageCache>::new::{closure#0} 5100556
<pageserver::page_cache::PageCache>::read_immutable_buf 170506915
<pageserver::page_cache::PageCache>::read_immutable_buf::{closure#0} 170506985
<pageserver::page_cache::PageCache>::remove_mapping 8056083
<pageserver::page_cache::PageCache>::remove_mapping::{closure#0} 2694722
<pageserver::page_cache::PageCache>::search_mapping 177906117
<pageserver::page_cache::PageCache>::search_mapping::{closure#0} 2217162
<pageserver::page_cache::PageCache>::search_mapping_exact 2316192
<pageserver::page_cache::PageCache>::search_mapping_exact::{closure#0} 689792
<pageserver::page_cache::PageCache>::try_get_pinned_slot_permit 360443544
::try_get_pinned_slot_permit 180221731
::try_get_pinned_slot_permit::{closure#0} 180221813
<pageserver::page_cache::PageCache>::try_insert_mapping 10938932
<pageserver::page_cache::PageCache>::try_insert_mapping::{closure#0} 689772
<pageserver::page_cache::PageCache>::try_lock_for_read 177906117
<pageserver::page_cache::PageCache>::try_lock_for_read::{closure#0} 177906201
<pageserver::page_cache::PageReadGuard as core::convert::AsRef<[u8; 8192]>>::as_ref 0
<pageserver::page_cache::PageReadGuard as core::ops::deref::Deref>::deref 339669177
<pageserver::page_cache::PageWriteGuard as core::ops::deref::Deref>::deref 18185513
<pageserver::page_cache::PageWriteGuard as core::ops::deref::DerefMut>::deref_mut 10938352
<pageserver::page_cache::PageWriteGuard as core::ops::drop::Drop>::drop 10938331
<pageserver::page_cache::PageWriteGuard>::mark_valid 10938350
<pageserver::page_cache::Slot>::dec_usage_count 35909161
<pageserver::page_cache::Slot>::dec_usage_count::{closure#0} 35909182
<pageserver::page_cache::Slot>::inc_usage_count 163671929
<pageserver::page_cache::Slot>::inc_usage_count::{closure#0} 163673774
<pageserver::page_cache::Slot>::set_usage_count 10938352
<pageserver::page_cache::SlotInner>::coalesce_readers_permit 163671923
<pageserver::page_cache::Version as core::clone::Clone>::clone 0
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::add_page_sz 10938351
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::set_page_sz 2103
<prometheus::gauge::GenericGauge<prometheus::atomic64::AtomicU64> as pageserver::page_cache::PageSzBytesMetric>::sub_page_sz 8056083
pageserver::page_cache::count_times_page_sz 18996537
pageserver::page_cache::get 180221731
pageserver::page_cache::get::{closure#0} 76
pageserver::page_cache::init 625
pageserver::page_cache::next_file_id 39022

Generated by: LCOV version 2.1-beta