LCOV - code coverage report
Current view: top level - pageserver/src/consumption_metrics - upload.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 98.3 % 293 288
Test Date: 2024-02-14 18:05:35 Functions: 63.2 % 76 48

Function Name Sort by function name Hit count Sort by function hit count
<&str as pageserver::consumption_metrics::upload::KeyGen>::generate 109
<(pageserver::consumption_metrics::metrics::MetricsKey, (consumption_metrics::EventType, u64)) as pageserver::consumption_metrics::upload::RawMetricExt>::as_event 151
<(pageserver::consumption_metrics::metrics::MetricsKey, (consumption_metrics::EventType, u64)) as pageserver::consumption_metrics::upload::RawMetricExt>::update_in_place 30
<<pageserver::consumption_metrics::upload::tests::chunked_serialization::EventChunk as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting 128
<::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
::deserialize::<&mut serde_json::de::Deserializer> 32
<pageserver::consumption_metrics::upload::Ids as core::fmt::Debug>::fmt 613
<::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
::clone 0
::eq 60
::fmt 0
::deserialize::<_> 0
::deserialize::> 72
::serialize::<_> 0
::serialize::, serde_json::ser::CompactFormatter>>> 12
::serialize::, serde_json::ser::CompactFormatter>>> 181
<pageserver::consumption_metrics::upload::UploadError as core::fmt::Debug>::fmt 2
<pageserver::consumption_metrics::upload::UploadError as core::fmt::Display>::fmt 28
<pageserver::consumption_metrics::upload::UploadError>::is_reject 31
<pageserver::consumption_metrics::upload::serialize_in_chunks::Iter<_> as core::iter::traits::iterator::Iterator>::next 94
as core::iter::traits::iterator::Iterator>::next 50
as core::iter::traits::iterator::Iterator>::next 0
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} 151
as core::iter::traits::iterator::Iterator>::next::{closure#0} 109
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::{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::serialize_in_chunks::Iter<_> as core::iter::traits::iterator::Iterator>::size_hint 46
as core::iter::traits::iterator::Iterator>::size_hint 24
as core::iter::traits::iterator::Iterator>::size_hint 0
as core::iter::traits::iterator::Iterator>::size_hint 22
<pageserver::consumption_metrics::upload::tests::FixedGen as core::clone::Clone>::clone 0
<pageserver::consumption_metrics::upload::tests::FixedGen as pageserver::consumption_metrics::upload::KeyGen>::generate 72
<pageserver::consumption_metrics::upload::tests::FixedGen>::new 2
pageserver::consumption_metrics::upload::serialize_in_chunks::<_> 39
pageserver::consumption_metrics::upload::serialize_in_chunks::<&str> 27
pageserver::consumption_metrics::upload::serialize_in_chunks::<_> 0
pageserver::consumption_metrics::upload::serialize_in_chunks:: 12
pageserver::consumption_metrics::upload::tests::SAMPLES_NOW::{closure#0} 4
pageserver::consumption_metrics::upload::tests::chunked_serialization 2
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#0} 4
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#1} 2
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#2} 30
pageserver::consumption_metrics::upload::tests::chunked_serialization::{closure#3} 30
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::metric_samples 4
pageserver::consumption_metrics::upload::upload 24
pageserver::consumption_metrics::upload::upload::{closure#0} 24
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#0} 48
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#0}::{closure#0} 48
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#0}::{closure#0}::{closure#0} 48
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#0}::{closure#0}::{closure#1} 28
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#1} 1
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#2} 22
pageserver::consumption_metrics::upload::upload::{closure#0}::{closure#3} 0
pageserver::consumption_metrics::upload::upload_metrics 54
pageserver::consumption_metrics::upload::upload_metrics 27
pageserver::consumption_metrics::upload::upload_metrics::{closure#0} 0
pageserver::consumption_metrics::upload::upload_metrics::{closure#0}::{closure#0} 27
pageserver::consumption_metrics::upload::upload_metrics::{closure#0}::{closure#0}::{closure#0} 26

Generated by: LCOV version 2.1-beta