ADAM BRAZDA

Systems Engineering SIU '26

Meylin

Binary_Audit

Core // Native_Serialization // Zero-Copy

Execution_Environment

C++23 // boost::pfr // Compile-Time Reflection

Investigation_Report

Engineered a high-performance, low-latency, zero-copy, C++23 serialization engine.

Utilizing boost::pfr for compile-time reflection and offset calculation to achieve near-instantaneous serialization.

Optimization_Log

// Offset_Complexity

Leveraged pre-calculated offsets to shift packing loop from O(n^2) to O(n).

// Zero_Copy_Flattening

Eliminated the need for an intermediate struct when flattening non-contiguous memory.

// Map_Access_Optimization

Utilized a wrapper to provide O(log(n)) and O(n) value access for maps and unordered_maps.

Performance_Audit_Matrix

// Pure_RAM_View

Operation Latency Throughput
Scalar Ser 5.31 ns 188.3M
Complex Ser 9.08 ns 110.1M
Messy Ser 33.10 ns 30.2M
Mem Access 0.62 ns 1612.9M
Map Lookup 4.18 ns 239.2M
JSON Export 630.41 ns 1.59M

// Disk_Backed_Mmap

Operation Latency Throughput
Scalar Ser 13.10 ns 76.3M
Complex Ser 22.80 ns 43.8M
Messy Ser 43.50 ns 22.9M
Mmap Access 0.59 ns 1694.9M
Mmap Map 4.10 ns 243.9M
JSON Export 599.81 ns 1.67M
Source_Code_Archive