LCOV - code coverage report
Current view: top level - pageserver/src/virtual_file/owned_buffers_io - write.rs (source / functions) Coverage Total Hit
Test: 49aa928ec5b4b510172d8b5c6d154da28e70a46c.info Lines: 95.6 % 204 195
Test Date: 2024-11-13 18:23:39 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 1285
>::new 8
>>::new 1277
<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 694240
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::buf 694320
>::buf 44
>>::buf 694276
<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 695386
<pageserver::virtual_file::owned_buffers_io::write::BufferedWriter<bytes::bytes_mut::BytesMut, pageserver::virtual_file::owned_buffers_io::write::tests::RecorderWriter>>::write_buffered_borrowed 5000826
>::write_buffered_borrowed 14
>>::write_buffered_borrowed 5000812
<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} 5000826
>::write_buffered_borrowed::{closure#0} 14
>>::write_buffered_borrowed::{closure#0} 5000812
<bytes::bytes_mut::BytesMut as pageserver::virtual_file::owned_buffers_io::write::Buffer>::extend_from_slice 5007458
<bytes::bytes_mut::BytesMut as pageserver::virtual_file::owned_buffers_io::write::Buffer>::cap 10021610
<bytes::bytes_mut::BytesMut as pageserver::virtual_file::owned_buffers_io::write::Buffer>::pending 10722401

Generated by: LCOV version 2.1-beta