perftool-incubator/bench-trafficgen ? reverse-engineered prompt

Reverse engineered prompt

Build me a small benchmark toolkit that can run traffic generation tests for network performance, mainly using TRex and testpmd, and plug into the crucible benchmarking flow.

I want scripts that can start and stop the traffic generator side, launch the client side binary search runs, import any needed TRex config and traffic profile files, and post process the results into a clean metric file. It should support a few modes, like simple packet forwarding, JSON based traffic profiles, a stateful TCP and UDP mode, and a no hardware test mode for checking the binary search logic. Please make sure the scripts validate prerequisites, pick the right devices and runtime settings, and log useful output when something fails.

If there are existing docs or current TRex setup details you need, look them up online and keep the setup flexible enough to run in a benchmark environment.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab