Provide zero-overhead mode for mock sources
Closed this issue · 1 comments
fako1024 commented
Right now the mock sources have to be continuously populated with mock data via their AddPacket()
method. While closely mimicking the concept of a packet (ring) buffer this causes significant overhead (actually taking more CPU time than the actual consumption off the mock wire), skewing in particular benchmarks. In addition, it could help to provide a simpler way than manually having to populate the buffer.
DoD
- Assess requirements (zero-overhead, simplification, ... while keeping flexibility)
- Implement extensions
- Adapt existing tests (+ more importantly benchmarks)
fako1024 commented