LCOV - code coverage report
Current view: top level - libs/pageserver_api/src - key.rs (source / functions) Coverage Total Hit
Test: 322b88762cba8ea666f63cda880cccab6936bf37.info Lines: 62.7 % 308 193
Test Date: 2024-02-29 11:57:12 Functions: 60.8 % 51 31

Function Name Sort by function name Hit count Sort by function hit count
pageserver_api::key::dbdir_key_range 0
pageserver_api::key::is_rel_fsm_block_key 0
pageserver_api::key::is_rel_vm_block_key 0
pageserver_api::key::is_slru_block_key 0
pageserver_api::key::key_to_slru_block 0
pageserver_api::key::slru_segment_key_range 0
pageserver_api::key::twophase_file_key 0
pageserver_api::key::twophase_key_range 0
pageserver_api::key::rel_key_range 2
pageserver_api::key::tests::display_fromstr_bijection 2
pageserver_api::key::tests::display_fromstr_bijection::{closure#0} 2
pageserver_api::key::key_to_rel_block 6
pageserver_api::key::slru_segment_size_to_key 6
<pageserver_api::key::Key as core::str::traits::FromStr>::from_str 14
pageserver_api::key::slru_block_to_key 14
pageserver_api::key::relmap_file_key 16
<pageserver_api::key::Key>::from_hex 332
pageserver_api::key::slru_dir_to_key 756
pageserver_api::key::rel_dir_to_key 1948
<pageserver_api::key::Key as core::fmt::Display>::fmt 10842
pageserver_api::key::rel_size_to_key 289754
pageserver_api::key::is_inherited_key 854144
pageserver_api::key::rel_block_to_key 865308
<pageserver_api::key::Key>::from_slice 2102356
<pageserver_api::key::Key>::from_i128 2162774
pageserver_api::key::is_rel_block_key 2605710
<pageserver_api::key::Key>::next 4255204
<pageserver_api::key::Key>::add 4255214
<pageserver_api::key::Key>::write_to_byte_slice 4436096
<pageserver_api::key::Key>::to_i128 6749428
<pageserver_api::key::Key as core::cmp::Ord>::cmp 22446835
<::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_str::<_> 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
::hash::<_> 0
::deserialize::<_> 0
::serialize::<&mut bincode::ser::SizeChecker<&mut bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 0
::serialize::<_> 0
::fmt 20
<::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<<&mut bincode::de::Deserializer<_, _> as serde::de::Deserializer>::deserialize_tuple::Access, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 900
::deserialize::<&mut bincode::de::Deserializer, bincode::config::int::FixintEncoding>, bincode::config::trailing::AllowTrailing>, bincode::config::limit::Infinite>>> 900
::serialize::<&mut bincode::ser::Serializer<&mut alloc::vec::Vec, bincode::config::WithOtherIntEncoding, bincode::config::int::FixintEncoding>>> 1108
::cmp 7257
::clone 807172
::partial_cmp 2747930
::hash:: 8190809
::eq 10690739

Generated by: LCOV version 2.1-beta