“The parser is overkill: it decodes the entire file based on the specification.”
Keeter sampled a 5 Gbps QSGMII link at 1 trillion samples a second. That caught 100 microseconds, enough for one to three UDP packets. His code turns the raw waveform into a pcap file in 410 milliseconds. Wireshark never knew the packets came off a scope.