LCOV - code coverage report
Current view: top level - pageserver/src/virtual_file/owned_buffers_io - write.rs (source / functions) Coverage Total Hit
Test: 2e3a7638747e564a4f6d1af1cc0c3b3438fbb740.info Lines: 95.6 % 204 195
Test Date: 2024-11-20 01:36:58 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 10021614
<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>::flush 6623
<bytes::bytes_mut::BytesMut as pageserver::virtual_file::owned_buffers_io::write::Buffer>::pending 10722372
<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 695355
<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 694207
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::buf 694287
>>::buf 694243
>::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 1287
>>::new 1279
>::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 5000828
>>::write_buffered_borrowed 5000814
>::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} 5000828
>>::write_buffered_borrowed::{closure#0} 5000814
>::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