LCOV - code coverage report
Current view: top level - pageserver/src/tenant/storage_layer - filename.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 65.2 % 187 122
Test Date: 2024-02-14 18:05:35 Functions: 68.4 % 38 26

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::storage_layer::filename::DeltaFileName as core::cmp::Ord>::cmp 0
<pageserver::tenant::storage_layer::filename::DeltaFileName as core::cmp::PartialEq>::eq 1040054
::clone 436848
::eq 26739
::hash:: 576467
<pageserver::tenant::storage_layer::filename::DeltaFileName as core::cmp::PartialOrd>::partial_cmp 0
<pageserver::tenant::storage_layer::filename::DeltaFileName as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::filename::DeltaFileName as core::fmt::Display>::fmt 893108
<pageserver::tenant::storage_layer::filename::DeltaFileName>::parse_str 69704
<pageserver::tenant::storage_layer::filename::ImageFileName as core::cmp::Ord>::cmp 0
<pageserver::tenant::storage_layer::filename::ImageFileName as core::cmp::PartialEq>::eq 820039
::clone 325845
::eq 22799
::hash:: 471395
<pageserver::tenant::storage_layer::filename::ImageFileName as core::cmp::PartialOrd>::partial_cmp 0
<pageserver::tenant::storage_layer::filename::ImageFileName as core::fmt::Debug>::fmt 0
<pageserver::tenant::storage_layer::filename::ImageFileName as core::fmt::Display>::fmt 663181
<pageserver::tenant::storage_layer::filename::ImageFileName>::lsn_as_range 0
<pageserver::tenant::storage_layer::filename::ImageFileName>::parse_str 69704
<pageserver::tenant::storage_layer::filename::LayerFileName as core::convert::From<pageserver::tenant::storage_layer::filename::DeltaFileName>>::from 541680
<pageserver::tenant::storage_layer::filename::LayerFileName as core::convert::From<pageserver::tenant::storage_layer::filename::ImageFileName>>::from 410489
<pageserver::tenant::storage_layer::filename::LayerFileName as core::fmt::Debug>::fmt 1877433
::clone 762693
::eq 66878
::fmt 0
::hash:: 1047862
<pageserver::tenant::storage_layer::filename::LayerFileName as core::fmt::Display>::fmt 943537
<pageserver::tenant::storage_layer::filename::LayerFileName as core::str::traits::FromStr>::from_str 69704
<pageserver::tenant::storage_layer::filename::LayerFileName as serde::de::Deserialize>::deserialize::<serde_json::de::MapKey<serde_json::read::SliceRead>> 56564
::deserialize::<&mut serde_json::de::Deserializer> 3119
::deserialize::> 0
::deserialize::> 53445
<pageserver::tenant::storage_layer::filename::LayerFileName as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec<u8>>> 606277
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 2515
::serialize::, serde_json::ser::CompactFormatter>> 603754
::serialize::, serde_json::ser::PrettyFormatter>> 8
::serialize::, serde_json::ser::CompactFormatter>> 0
<pageserver::tenant::storage_layer::filename::LayerFileName>::file_name 806146
<pageserver::tenant::storage_layer::filename::LayerFileName>::is_in_future 645443
<pageserver::tenant::storage_layer::filename::LayerFileName>::kind 486
<pageserver::tenant::storage_layer::filename::LayerFileNameVisitor as serde::de::Visitor>::expecting 0
<pageserver::tenant::storage_layer::filename::LayerFileNameVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error> 56564
<pageserver::tenant::storage_layer::filename::LayerFileNameVisitor as serde::de::Visitor>::visit_str::<serde_json::error::Error>::{closure#0} 0

Generated by: LCOV version 2.1-beta