LCOV - code coverage report
Current view: top level - pageserver/src/tenant/remote_timeline_client - index.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 98.9 % 268 265
Test Date: 2024-02-14 18:05:35 Functions: 65.5 % 55 36

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::remote_timeline_client::index::IndexLayerMetadata as core::convert::From<pageserver::tenant::remote_timeline_client::index::LayerFileMetadata>>::from 601921
<pageserver::tenant::remote_timeline_client::index::IndexLayerMetadata as core::fmt::Debug>::fmt 944857
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 112718
<::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:: 112718
<::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::> 56564
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
::clone 0
::eq 16
::fmt 0
::deserialize::<&mut serde_json::de::Deserializer> 56564
::deserialize::> 0
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec, serde_json::ser::PrettyFormatter>> 8
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 606269
::serialize::, serde_json::ser::CompactFormatter>> 0
<pageserver::tenant::remote_timeline_client::index::IndexPart as core::convert::TryFrom<&pageserver::tenant::upload_queue::UploadQueueInitialized>>::try_from 177
<pageserver::tenant::remote_timeline_client::index::IndexPart as core::fmt::Debug>::fmt 11760
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 1940
<::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:: 1940
<::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::> 478
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::> 0
::clone 0
::eq 20
::fmt 0
::deserialize::<&mut serde_json::de::Deserializer> 478
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 6904
<pageserver::tenant::remote_timeline_client::index::IndexPart>::from_s3_bytes 16
<pageserver::tenant::remote_timeline_client::index::IndexPart>::get_disk_consistent_lsn 6
<pageserver::tenant::remote_timeline_client::index::IndexPart>::get_version 0
<pageserver::tenant::remote_timeline_client::index::IndexPart>::new 6268
<pageserver::tenant::remote_timeline_client::index::IndexPart>::new::{closure#0} 599406
<pageserver::tenant::remote_timeline_client::index::IndexPart>::to_s3_bytes 6892
<pageserver::tenant::remote_timeline_client::index::LayerFileMetadata as core::cmp::Ord>::cmp 698580
::clone 684091
::cmp 0
::eq 14003
::partial_cmp 0
::fmt 486
<pageserver::tenant::remote_timeline_client::index::LayerFileMetadata as core::convert::From<&pageserver::tenant::remote_timeline_client::index::IndexLayerMetadata>>::from 110825
<pageserver::tenant::remote_timeline_client::index::LayerFileMetadata>::file_size 181325
<pageserver::tenant::remote_timeline_client::index::LayerFileMetadata>::new 52121
pageserver::tenant::remote_timeline_client::index::tests::empty_layers_are_parsed 2
pageserver::tenant::remote_timeline_client::index::tests::empty_layers_are_parsed::{closure#0} 2
pageserver::tenant::remote_timeline_client::index::tests::v1_indexpart_is_parsed 2
pageserver::tenant::remote_timeline_client::index::tests::v1_indexpart_is_parsed::{closure#0} 2
pageserver::tenant::remote_timeline_client::index::tests::v1_indexpart_is_parsed_with_optional_missing_layers 2
pageserver::tenant::remote_timeline_client::index::tests::v1_indexpart_is_parsed_with_optional_missing_layers::{closure#0} 2
pageserver::tenant::remote_timeline_client::index::tests::v2_indexpart_is_parsed_with_deleted_at 2
pageserver::tenant::remote_timeline_client::index::tests::v2_indexpart_is_parsed_with_deleted_at::{closure#0} 2
pageserver::tenant::remote_timeline_client::index::tests::v4_indexpart_is_parsed 2
pageserver::tenant::remote_timeline_client::index::tests::v4_indexpart_is_parsed::{closure#0} 2

Generated by: LCOV version 2.1-beta