Skip to content

Commit bb70db1

Browse files
committed
Review feedback: update docs/comments
Signed-off-by: Otto van der Schaaf <[email protected]>
1 parent 611f024 commit bb70db1

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ format>
7979
Where:
8080
8181
--simple-warmup
82-
Do not perform the simple warmup call.
82+
Perform a simple single warmup request (per worker) before starting
83+
execution. Note that this will be reflected in the counters that
84+
Nighthawk writes to the output. Default is false.
8385
8486
--request-source <uri format>
8587
Remote gRPC source that will deliver to-be-replayed traffic. Each

api/client/options.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ message CommandLineOptions {
187187
repeated string labels = 28;
188188
// TransportSocket configuration to use in every request
189189
envoy.config.core.v3.TransportSocket transport_socket = 27;
190-
// Do not perform the simple warmup call.
190+
// Perform a simple single warmup request (per worker) before starting
191+
// execution. Note that this will be reflected in the counters that
192+
// Nighthawk writes to the output. Default is false.
191193
google.protobuf.BoolValue simple_warmup = 32;
192194
}

source/client/options_impl.cc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,8 +264,12 @@ OptionsImpl::OptionsImpl(int argc, const char* const* argv) {
264264
"connect to this source. For example grpc://127.0.0.1:8443/.",
265265
false, "", "uri format", cmd);
266266

267-
TCLAP::SwitchArg simple_warmup("", "simple-warmup", "Do not perform the simple warmup call.",
268-
cmd);
267+
TCLAP::SwitchArg simple_warmup(
268+
"", "simple-warmup",
269+
"Perform a simple single warmup request (per worker) before starting execution. Note that "
270+
"this will be reflected in the counters that Nighthawk writes to the output. Default is "
271+
"false.",
272+
cmd);
269273

270274
Utility::parseCommand(cmd, argc, argv);
271275

0 commit comments

Comments
 (0)