diff options
author | Zach Koopmans <zkoopmans@google.com> | 2020-09-02 11:20:45 -0700 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2020-09-09 17:53:10 -0700 |
commit | 661a08e188b1d8d7bf4d5ad4c2eafa61057ffd6a (patch) | |
tree | a706cce7cfe0e989abbc74443840b7e578e462e5 /pkg/buffer/safemem.go | |
parent | 1b5bbc0946aca8cc9bdf92aa66e1c6d09d10168a (diff) |
Add Docs to nginx benchmark.
Adds docs to nginx and refactors both Httpd and Nginx benchmarks.
Key changes:
- Add docs and make nginx tests the same as httpd (reverse, all docs, etc.).
- Make requests scale on c * b.N -> a request per thread. This works well
with both --test.benchtime=10m (do a run that lasts at least 10m) and
--test.benchtime=10x (do b.N = 10).
-- Remove a doc from both tests (1000Kb) as 1024Kb exists.
PiperOrigin-RevId: 329751091
Diffstat (limited to 'pkg/buffer/safemem.go')
0 files changed, 0 insertions, 0 deletions