summaryrefslogtreecommitdiffstats
path: root/fbench
diff options
context:
space:
mode:
authorchgzm <antnhm54@gmail.com>2023-12-11 19:36:59 +0900
committerchgzm <antnhm54@gmail.com>2023-12-11 20:02:41 +0900
commita579c3228152e51b6a30bf7403f187b7ca9b3e5f (patch)
tree301beceb23b8aae576ea86ab8320085ee0ace642 /fbench
parent18e3fb5c91e9e40d46fccc1b8988c445f27ec19e (diff)
fix default cycle time in fbench-usage to 0
Diffstat (limited to 'fbench')
-rw-r--r--fbench/README2
-rw-r--r--fbench/src/fbench/fbench.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/fbench/README b/fbench/README
index 17807cb3931..86e0072a2d0 100644
--- a/fbench/README
+++ b/fbench/README
@@ -103,7 +103,7 @@ mark optional parameters and default values):
| [-r restartLimit] [-k] <hostname> <port>
|
| -n <num> : run with <num> parallel clients [10]
-| -c <num> : each client will make a request each <num> milliseconds [1000]
+| -c <num> : each client will make a request each <num> milliseconds [0]
| ('-1' -> cycle time should be twice the response time)
| -l <num> : minimum response size for successful requests [0]
| -i <num> : do not log the <num> first results. -1 means no logging [0]
diff --git a/fbench/src/fbench/fbench.cpp b/fbench/src/fbench/fbench.cpp
index 8617c456d94..0e429511eca 100644
--- a/fbench/src/fbench/fbench.cpp
+++ b/fbench/src/fbench/fbench.cpp
@@ -299,7 +299,7 @@ FBench::Usage()
printf(" -P : use POST for requests instead of GET.\n");
printf(" -a <str> : append string to each query\n");
printf(" -n <num> : run with <num> parallel clients [10]\n");
- printf(" -c <num> : each client will make a request each <num> milliseconds [1000]\n");
+ printf(" -c <num> : each client will make a request each <num> milliseconds [0]\n");
printf(" ('-1' -> cycle time should be twice the response time)\n");
printf(" -l <num> : minimum response size for successful requests [0]\n");
printf(" -i <num> : do not log the <num> first results. -1 means no logging [0]\n");