diff options
author | Zach Koopmans <zkoopmans@google.com> | 2020-12-11 12:35:42 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-11 12:37:28 -0800 |
commit | 305a456551467623d38acdb5a1b9741cb0dc1219 (patch) | |
tree | 71d2fd82dcb7197b91948440c3fd9e04b4759909 /pkg/marshal | |
parent | 4cba3904f414775371f86571a549454aafad19bf (diff) |
Adjust requests to be constant equal to b.N in network tests.
For "hey", requests >= concurrency. b.N can be set by the
--test.benchtime={b.N}x. The previous setting of b.N * c
can be surprisingly slow for larger c.
Set the requests to max(b.N, c) and log to the user if it is c.
PiperOrigin-RevId: 347053675
Diffstat (limited to 'pkg/marshal')
0 files changed, 0 insertions, 0 deletions