LCOV - code coverage report
Current view: top level - pageserver/src/consumption_metrics - upload.rs (source / functions) Coverage Total Hit
Test: fc67f8dc6087a0b4f4f0bcd74f6e1dc25fab8cf3.info Lines: 72.4 % 250 181
Test Date: 2024-09-24 13:57:57 Functions: 45.3 % 53 24

Function Name Sort by function name Hit count Sort by function hit count
<&str as pageserver::consumption_metrics::upload::KeyGen>::generate 0
<(pageserver::consumption_metrics::metrics::MetricsKey, (consumption_metrics::EventType, u64)) as pageserver::consumption_metrics::upload::RawMetricExt>::as_event 126
<(pageserver::consumption_metrics::metrics::MetricsKey, (consumption_metrics::EventType, u64)) as pageserver::consumption_metrics::upload::RawMetricExt>::update_in_place 90
<<pageserver::consumption_metrics::upload::Ids as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 864
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 324
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes:: 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 324
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64:: 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 216
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_> 0
<<pageserver::consumption_metrics::upload::tests::chunked_serialization::EventChunk as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 288
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 96
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 96
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_> 0
<::deserialize::__Visitor as serde::de::Visitor>::expecting 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 96
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
<pageserver::consumption_metrics::upload::UploadError as core::fmt::Debug>::fmt 0
<pageserver::consumption_metrics::upload::UploadError as core::fmt::Display>::fmt 0
<pageserver::consumption_metrics::upload::UploadError>::is_reject 0
<pageserver::consumption_metrics::upload::serialize_in_chunks::Iter as core::iter::traits::iterator::Iterator>::next 132
<pageserver::consumption_metrics::upload::serialize_in_chunks::Iter as core::iter::traits::iterator::Iterator>::next::{closure#0} 126
<pageserver::consumption_metrics::upload::serialize_in_chunks::Iter as core::iter::traits::iterator::Iterator>::next::{closure#1} 90
<pageserver::consumption_metrics::upload::serialize_in_chunks::Iter as core::iter::traits::iterator::Iterator>::size_hint 66
<pageserver::consumption_metrics::upload::tests::FixedGen as pageserver::consumption_metrics::upload::KeyGen>::generate 36
<pageserver::consumption_metrics::upload::tests::FixedGen>::new 36
pageserver::consumption_metrics::upload::serialize_in_chunks 36
pageserver::consumption_metrics::upload::tests::SAMPLES_NOW::{closure#0} 12
pageserver::consumption_metrics::upload::tests::chunked_serialization 6
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#0} 36
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#1} 6
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#2} 6
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#3} 90
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#4} 90
pageserver::consumption_metrics::upload::tests::metric_image_stability 6
pageserver::consumption_metrics::upload::tests::metric_samples 12
pageserver::consumption_metrics::upload::upload 0
pageserver::consumption_metrics::upload::upload::{closure#0} 0
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#0} 0
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#0}::{closure#0} 0
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#0}::{closure#0}::{closure#0} 0
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#0}::{closure#0}::{closure#1} 0
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#1} 0
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#2} 0
pageserver::consumption_metrics::upload::upload_metrics_bucket::{closure#0}::{closure#0} 0
pageserver::consumption_metrics::upload::upload_metrics_http::{closure#0}::{closure#0} 0

Generated by: LCOV version 2.1-beta