LCOV - code coverage report
Current view: top level - pageserver/src/virtual_file/owned_buffers_io - write.rs (source / functions) Coverage Total Hit
Test: b4ae4c4857f9ef3e144e982a35ee23bc84c71983.info Lines: 95.6 % 204 195
Test Date: 2024-10-22 22:13:45 Functions: 95.3 % 43 41

Function Name Sort by function name Hit count Sort by function hit count
<alloc::vec::Vec<u8> as pageserver::virtual_file::owned_buffers_io::write::OwnedAsyncWriter>::write_all::<_> 0
<alloc::vec::Vec<u8> as pageserver::virtual_file::owned_buffers_io::write::OwnedAsyncWriter>::write_all::<_>::{closure#0} 0
<bytes::bytes_mut::BytesMut as pageserver::virtual_file::owned_buffers_io::write::Buffer>::cap 10021602
<bytes::bytes_mut::BytesMut as pageserver::virtual_file::owned_buffers_io::write::Buffer>::extend_from_slice 5007454
<bytes::bytes_mut::BytesMut as pageserver::virtual_file::owned_buffers_io::write::Buffer>::flush 6623
<bytes::bytes_mut::BytesMut as pageserver::virtual_file::owned_buffers_io::write::Buffer>::pending 10722492
<bytes::bytes_mut::BytesMut as pageserver::virtual_file::owned_buffers_io::write::Buffer>::reuse_after_flush 6623
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::util::size_tracking_writer::Writer<pageserver::virtual_file::VirtualFile>>>::as_inner 695481
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::util::size_tracking_writer::Writer<pageserver::virtual_file::VirtualFile>>>::inspect_buffer 694339
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::buf 694419
>>::buf 694375
>::buf 44
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::flush 13266
>>::flush 6597
>>::flush::{closure#0} 6597
>::flush 36
>::flush::{closure#0} 36
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::flush_and_into_inner 22
>>::flush_and_into_inner 3
>>::flush_and_into_inner::{closure#0} 3
>::flush_and_into_inner 8
>::flush_and_into_inner::{closure#0} 8
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::new 1281
>>::new 1273
>::new 8
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::write_buffered::<bytes::bytes::Bytes> 44
>>::write_buffered:: 18
>::write_buffered:: 26
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::write_buffered::<bytes::bytes::Bytes>::{closure#0} 44
>>::write_buffered::::{closure#0} 18
>::write_buffered::::{closure#0} 26
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::write_buffered_borrowed 5000822
>>::write_buffered_borrowed 5000808
>::write_buffered_borrowed 14
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::write_buffered_borrowed::{closure#0} 5000822
>>::write_buffered_borrowed::{closure#0} 5000808
>::write_buffered_borrowed::{closure#0} 14
<pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter as pageserver::virtual_file::owned_buffers_io::write::OwnedAsyncWriter>::write_all::<bytes::bytes::Bytes> 34
::write_all:: 8
::write_all:: 26
<pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter as pageserver::virtual_file::owned_buffers_io::write::OwnedAsyncWriter>::write_all::<bytes::bytes::Bytes>::{closure#0} 34
::write_all::::{closure#0} 8
::write_all::::{closure#0} 26
pageserver::virtual_file::owned_buffers_io::write::tests::test_buffered_writes_only 4
pageserver::virtual_file::owned_buffers_io::write::tests::test_buffered_writes_only 2
pageserver::virtual_file::owned_buffers_io::write::tests::test_buffered_writes_only::{closure#0} 2
pageserver::virtual_file::owned_buffers_io::write::tests::test_ctx 34
pageserver::virtual_file::owned_buffers_io::write::tests::test_passthrough_write_with_nonempty_buffer 4
pageserver::virtual_file::owned_buffers_io::write::tests::test_passthrough_write_with_nonempty_buffer 2
pageserver::virtual_file::owned_buffers_io::write::tests::test_passthrough_write_with_nonempty_buffer::{closure#0} 2
pageserver::virtual_file::owned_buffers_io::write::tests::test_passthrough_writes_only 4
pageserver::virtual_file::owned_buffers_io::write::tests::test_passthrough_writes_only 2
pageserver::virtual_file::owned_buffers_io::write::tests::test_passthrough_writes_only::{closure#0} 2
pageserver::virtual_file::owned_buffers_io::write::tests::test_write_all_borrowed_always_goes_through_buffer 4
pageserver::virtual_file::owned_buffers_io::write::tests::test_write_all_borrowed_always_goes_through_buffer 2
pageserver::virtual_file::owned_buffers_io::write::tests::test_write_all_borrowed_always_goes_through_buffer::{closure#0} 2
pageserver::virtual_file::owned_buffers_io::write::tests::test_write_all_borrowed_always_goes_through_buffer::{closure#0}::{closure#0} 16

Generated by: LCOV version 2.1-beta