LCOV - code coverage report
Current view: top level - pageserver/src/consumption_metrics - upload.rs (source / functions) Coverage Total Hit
Test: b9d67f908f91f00e353a27440ba89f642a869959.info Lines: 64.1 % 315 202
Test Date: 2024-11-19 21:44:13 Functions: 45.6 % 57 26

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 0
<(pageserver::consumption_metrics::metrics::MetricsKey, (consumption_metrics::EventType, u64)) as pageserver::consumption_metrics::upload::RawMetricExt>::update_in_place 0
<<pageserver::consumption_metrics::upload::Ids as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 288
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 108
<::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:: 108
<::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::> 72
<::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 96
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 32
<::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:: 32
<::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::> 32
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
<pageserver::consumption_metrics::NewRawMetric as pageserver::consumption_metrics::upload::RawMetricExt>::as_event 42
<pageserver::consumption_metrics::NewRawMetric as pageserver::consumption_metrics::upload::RawMetricExt>::update_in_place 30
<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 44
<pageserver::consumption_metrics::upload::serialize_in_chunks::Iter as core::iter::traits::iterator::Iterator>::next::{closure#0} 42
<pageserver::consumption_metrics::upload::serialize_in_chunks::Iter as core::iter::traits::iterator::Iterator>::next::{closure#1} 30
<pageserver::consumption_metrics::upload::serialize_in_chunks::Iter as core::iter::traits::iterator::Iterator>::size_hint 22
<pageserver::consumption_metrics::upload::tests::FixedGen as pageserver::consumption_metrics::upload::KeyGen>::generate 12
<pageserver::consumption_metrics::upload::tests::FixedGen>::new 12
pageserver::consumption_metrics::upload::serialize_in_chunks 12
pageserver::consumption_metrics::upload::tests::SAMPLES_NOW::{closure#0} 6
pageserver::consumption_metrics::upload::tests::chunked_serialization 2
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#0} 12
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#1} 2
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#2} 2
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#3} 30
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#4} 30
pageserver::consumption_metrics::upload::tests::disk_format_upgrade 2
pageserver::consumption_metrics::upload::tests::metric_image_stability 2
pageserver::consumption_metrics::upload::tests::metric_samples 6
pageserver::consumption_metrics::upload::tests::metric_samples_old 2
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