From 72825aa1369086a68bd3b47f29bf223f498a8061 Mon Sep 17 00:00:00 2001 From: Morgan Gallant Date: Thu, 19 Dec 2024 09:06:32 -0800 Subject: [PATCH] add flags for benchmarking multiple steady state runs Signed-off-by: Morgan Gallant --- flags.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/flags.go b/flags.go index 1ae9e34..95d0122 100644 --- a/flags.go +++ b/flags.go @@ -116,6 +116,18 @@ var steadyStateDuration = flag.Duration( "how long to run the benchmark for at steady-state. if 0, will run indefinitely", ) +var steadyStateRepeatTimes = flag.Int( + "steady-state-repeat-times", + 1, + "number of times to repeat the steady-state phase", +) + +var steadyStatePurgeCacheBefore = flag.Bool( + "steady-state-purge-cache-before", + false, + "purge the cache of all namespaces before starting a steady-state phase", +) + var hostHeader = flag.String( "host-header", "",