Add bandwidth benchmarking and reporting for BAQ bulk operations
This commit is contained in:
@@ -535,12 +535,12 @@ TEST_CASE("comprehensive: all types combined stress test") {
|
||||
// =============================================================================
|
||||
|
||||
TEST_CASE("user-provided buffer: zero-allocation path") {
|
||||
AllPkt x{
|
||||
.u8 = 0x12,
|
||||
.s32 = -1,
|
||||
.f64 = 3.14,
|
||||
.inner = {.a = 100, .b = 0.5},
|
||||
};
|
||||
AllPkt x{};
|
||||
x.u8 = 0x12;
|
||||
x.s32 = -1;
|
||||
x.f64 = 3.14;
|
||||
x.inner = {.a = 100, .b = 0.5};
|
||||
|
||||
std::vector<std::uint8_t> buf(bitserial::byte_size_v<AllPkt>);
|
||||
bitserial::to_bytes(x, std::span<std::uint8_t>(buf));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user