LCOV - code coverage report
Current view: top level - pageserver/src/virtual_file/owned_buffers_io - write.rs (source / functions) Coverage Total Hit
Test: 3eba1babe267649f8cebefc91c236589db030548.info Lines: 95.6 % 204 195
Test Date: 2024-11-22 12:36:12 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
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_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
<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::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_ctx 34
<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>>::new 1287
>::new 8
>>::new 1279
<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>::reuse_after_flush 6623
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::flush 13266
>::flush 36
>::flush::{closure#0} 36
>>::flush 6597
>>::flush::{closure#0} 6597
<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 694407
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::buf 694487
>::buf 44
>>::buf 694443
<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 695555
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::write_buffered_borrowed 5000828
>::write_buffered_borrowed 14
>>::write_buffered_borrowed 5000814
<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} 5000828
>::write_buffered_borrowed::{closure#0} 14
>>::write_buffered_borrowed::{closure#0} 5000814
<bytes::bytes_mut::BytesMut as pageserver::virtual_file::owned_buffers_io::write::Buffer>::extend_from_slice 5007460
<bytes::bytes_mut::BytesMut as pageserver::virtual_file::owned_buffers_io::write::Buffer>::cap 10021614
<bytes::bytes_mut::BytesMut as pageserver::virtual_file::owned_buffers_io::write::Buffer>::pending 10722572

Generated by: LCOV version 2.1-beta