DescriptionMinor fixes for protocol perf tests
1. Avoid base::RandDouble() in fake sockets. On posix base::RandBytes()
reads from /dev/urandom. On linux this causes significant CPU
consumption in rngd, comparable to CPU time consumed by the test
itself. The test doesn't need crypto-quality random numbers,
changed it to use std::rand().
2. Removed some outdated code from protocol_perftest.cc.
3. Added 2Mpbs tests.
Committed: https://crrev.com/6206df6c1bea743a8cdc01be1fc0c43ce15d3e60
Cr-Commit-Position: refs/heads/master@{#421337}
Patch Set 1 #
Total comments: 3
Patch Set 2 : no rand #
Messages
Total messages: 15 (7 generated)
|