Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
admin: lazy-init host stats and run with/without host stats for Json-…
…histograms (envoyproxy#32197) Commit Message: Works around n^2 issue when destructing hundreds of thousands of mocks in the benchmark context. It does thi s by: only initializing the hosts when per-host stats are enabled in the cluster config adding a 'disabled' and 'enabled' variant to the histogram-json test so that it's easy to filter using --benchmark_filter=disabled to avoid initializing the hosts. See also: envoyproxy#32198 -- this doesn't fix that bug but we could in theory revert this PR once that bug is fixed. Additional Description: Risk Level: low Testing: just the one test Docs Changes: n/a Release Notes: n/a Platform Specific Features: n/a Signed-off-by: Joshua Marantz <[email protected]>
- Loading branch information