LCOV - code coverage report
Current view: top level - safekeeper/src - receive_wal.rs (source / functions) Coverage Total Hit
Test: aca8877be6ceba750c1be359ed71bc1799d52b30.info Lines: 92.9 % 241 224
Test Date: 2024-02-14 18:05:35 Functions: 60.3 % 73 44

Function Name Sort by function name Hit count Sort by function hit count
<safekeeper::receive_wal::ComputeConnectionGuard as core::ops::drop::Drop>::drop::{closure#0}::{closure#0} 0
<safekeeper::receive_wal::WalReceivers>::get_num_streaming::{closure#0} 1
<safekeeper::receive_wal::WalReceivers>::get_num_streaming 3
<safekeeper::receive_wal::WalReceivers>::get_all 250
<safekeeper::receive_wal::WalReceiverStatus as core::fmt::Debug>::fmt 346
<::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_enum::> 0
::fmt 0
::deserialize::> 0
::serialize::, serde_json::ser::CompactFormatter>> 0
<::deserialize::__Field as serde::de::Deserialize>::deserialize::<&mut serde_json::de::Deserializer> 2
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 2
<::deserialize::__Visitor as serde::de::Visitor>::visit_enum::> 2
::deserialize::<&mut serde_json::de::Deserializer> 2
::clone 169
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 169
<safekeeper::receive_wal::WalReceiverState as core::fmt::Debug>::fmt 350
<::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
::fmt 0
<::deserialize::__Visitor as serde::de::Visitor>::visit_map::> 2
::deserialize::<&mut serde_json::de::Deserializer> 2
<::deserialize::__Field as serde::de::Deserialize>::deserialize::> 4
<::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str:: 4
::clone 169
::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec>> 169
<safekeeper::receive_wal::WalReceivers>::new 614
<safekeeper::receive_wal::WalReceiverGuard>::get 861
<safekeeper::receive_wal::WalReceivers>::get_slot 861
<safekeeper::receive_wal::WalReceivers>::get_slot::{closure#0} 861
<safekeeper::receive_wal::WalReceivers>::register::{closure#0} 1289
<safekeeper::receive_wal::ComputeConnectionGuard as core::ops::drop::Drop>::drop 1769
<safekeeper::receive_wal::ComputeConnectionGuard as core::ops::drop::Drop>::drop::{closure#0} 1769
<safekeeper::receive_wal::WalReceiverGuard as core::ops::drop::Drop>::drop 1769
<safekeeper::receive_wal::WalReceivers>::unregister 1769
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_wal_push::<_> 1842
::handle_start_wal_push::<_> 0
::handle_start_wal_push::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>> 1842
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_wal_push::<_>::{closure#0} 1842
::handle_start_wal_push::<_>::{closure#0} 0
::handle_start_wal_push::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>::{closure#0} 1842
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_wal_push_guts::<_> 1842
::handle_start_wal_push_guts::<_> 0
::handle_start_wal_push_guts::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>> 1842
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_wal_push_guts::<_>::{closure#0} 1842
::handle_start_wal_push_guts::<_>::{closure#0} 0
::handle_start_wal_push_guts::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>::{closure#0} 1842
<safekeeper::receive_wal::NetworkReader<_>>::run 1842
>::run 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run 1842
<safekeeper::receive_wal::NetworkReader<_>>::run::{closure#0} 1842
>::run::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run::{closure#0} 1842
<safekeeper::receive_wal::NetworkReader<_>>::run::{closure#0}::{closure#0} 1842
>::run::{closure#0}::{closure#0} 0
>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>>::run::{closure#0}::{closure#0} 1842
safekeeper::receive_wal::network_write::<_> 1842
safekeeper::receive_wal::network_write::<_> 0
safekeeper::receive_wal::network_write::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>> 1842
safekeeper::receive_wal::network_write::<_>::{closure#0} 1842
safekeeper::receive_wal::network_write::<_>::{closure#0} 0
safekeeper::receive_wal::network_write::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>::{closure#0} 1842
safekeeper::receive_wal::read_network_loop::<_> 1842
safekeeper::receive_wal::read_network_loop::<_> 0
safekeeper::receive_wal::read_network_loop::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>> 1842
safekeeper::receive_wal::read_network_loop::<_>::{closure#0} 1842
safekeeper::receive_wal::read_network_loop::<_>::{closure#0} 0
safekeeper::receive_wal::read_network_loop::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>::{closure#0} 1842
<safekeeper::receive_wal::WalAcceptor>::spawn 1843
<safekeeper::receive_wal::WalAcceptor>::spawn::{closure#0} 1843
<safekeeper::receive_wal::WalReceivers>::register 1843
<safekeeper::receive_wal::WalAcceptor>::run 3686
::run 1843
::run::{closure#0} 1843
<safekeeper::receive_wal::WalReceivers>::get_num 19206
safekeeper::receive_wal::read_message::<_> 2404079
safekeeper::receive_wal::read_message::<_> 0
safekeeper::receive_wal::read_message::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>> 2404079
safekeeper::receive_wal::read_message::<_>::{closure#0} 2404079
safekeeper::receive_wal::read_message::<_>::{closure#0} 0
safekeeper::receive_wal::read_message::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>::{closure#0} 2404079
<safekeeper::handler::SafekeeperPostgresHandler>::handle_start_wal_push_guts::<_>::{closure#0}::{closure#0} 3232877
::handle_start_wal_push_guts::<_>::{closure#0}::{closure#0} 0
::handle_start_wal_push_guts::>, safekeeper::wal_service::handle_socket::{closure#0}::{closure#0}, safekeeper::wal_service::handle_socket::{closure#0}::{closure#1}>>::{closure#0}::{closure#0} 3232877

Generated by: LCOV version 2.1-beta