LCOV - code coverage report
Current view: top level - pageserver/src/consumption_metrics - upload.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 74.7 % 293 219
Test Date: 2024-02-29 11:57:12 Functions: 38.2 % 76 29

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::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::tests::FixedGen as core::clone::Clone>::clone 0
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::{closure#0}::{closure#3} 0
pageserver::consumption_metrics::upload::upload_metrics 0
pageserver::consumption_metrics::upload::upload_metrics 0
pageserver::consumption_metrics::upload::upload_metrics::{closure#0} 0
pageserver::consumption_metrics::upload::upload_metrics::{closure#0}::{closure#0} 0
pageserver::consumption_metrics::upload::upload_metrics::{closure#0}::{closure#0}::{closure#0} 0
<pageserver::consumption_metrics::upload::tests::FixedGen>::new 2
pageserver::consumption_metrics::upload::tests::chunked_serialization 2
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#1} 2
pageserver::consumption_metrics::upload::tests::metric_image_stability 2
pageserver::consumption_metrics::upload::tests::metric_image_stability::{closure#0} 2
pageserver::consumption_metrics::upload::tests::SAMPLES_NOW::{closure#0} 4
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#0} 4
pageserver::consumption_metrics::upload::tests::metric_samples 4
pageserver::consumption_metrics::upload::serialize_in_chunks::<_> 12
pageserver::consumption_metrics::upload::serialize_in_chunks::<&str> 0
pageserver::consumption_metrics::upload::serialize_in_chunks::<_> 0
pageserver::consumption_metrics::upload::serialize_in_chunks:: 12
<pageserver::consumption_metrics::upload::serialize_in_chunks::Iter<_> as core::iter::traits::iterator::Iterator>::size_hint 22
as core::iter::traits::iterator::Iterator>::size_hint 0
as core::iter::traits::iterator::Iterator>::size_hint 0
as core::iter::traits::iterator::Iterator>::size_hint 22
<(pageserver::consumption_metrics::metrics::MetricsKey, (consumption_metrics::EventType, u64)) as pageserver::consumption_metrics::upload::RawMetricExt>::update_in_place 30
<pageserver::consumption_metrics::upload::serialize_in_chunks::Iter<_> as core::iter::traits::iterator::Iterator>::next::{closure#1} 30
as core::iter::traits::iterator::Iterator>::next::{closure#1} 0
as core::iter::traits::iterator::Iterator>::next::{closure#1} 0
as core::iter::traits::iterator::Iterator>::next::{closure#1} 30
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#2} 30
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#3} 30
<(pageserver::consumption_metrics::metrics::MetricsKey, (consumption_metrics::EventType, u64)) as pageserver::consumption_metrics::upload::RawMetricExt>::as_event 42
<pageserver::consumption_metrics::upload::serialize_in_chunks::Iter<_> as core::iter::traits::iterator::Iterator>::next::{closure#0} 42
as core::iter::traits::iterator::Iterator>::next::{closure#0} 0
as core::iter::traits::iterator::Iterator>::next::{closure#0} 0
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 44
as core::iter::traits::iterator::Iterator>::next 0
as core::iter::traits::iterator::Iterator>::next 0
as core::iter::traits::iterator::Iterator>::next 44
<pageserver::consumption_metrics::upload::tests::FixedGen as pageserver::consumption_metrics::upload::KeyGen>::generate 72
<<pageserver::consumption_metrics::upload::tests::chunked_serialization::EventChunk as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 128
<::deserialize::__FieldVisitor as serde::de::Visitor>::expecting 0
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_> 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_seq::> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 32
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 32
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 32
::deserialize::<&mut serde_json::de::Deserializer> 32
<pageserver::consumption_metrics::upload::Ids as core::fmt::Debug>::fmt 504
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<_> 0
<::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_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_seq::<_> 0
::clone 0
::fmt 0
::deserialize::<_> 0
::serialize::<_> 0
::serialize::, serde_json::ser::CompactFormatter>>> 12
::eq 60
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 72
::deserialize::> 72
::serialize::, serde_json::ser::CompactFormatter>>> 72
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 108
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 108

Generated by: LCOV version 2.1-beta