You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The traffic generation currently uses a needless amount of CPU by launching a Bash instance in the workspace. It also relies on crypto/rand to produce random output.
To reduce CPU, we can switch bash to dd to allow both echo and non-echo operation dd if=/dev/stdin of=/dev/stdout|/dev/null bs=[payload size].
We can also switch crypto/rand to math/rand with a seed to allow reproducible pseudo-random output.