Browse Source

Update benchmark.cfg.example with new flag lists

Hamilton Turner 10 years ago
parent
commit
50ee350d24
2 changed files with 4 additions and 5 deletions
  1. 3 5
      benchmark.cfg.example
  2. 1 0
      toolset/benchmark/utils.py

+ 3 - 5
benchmark.cfg.example

@@ -15,18 +15,16 @@ install_strategy=unified
 install_only=False
 list_test_metadata=False
 list_tests=False
-max_concurrency=256
-max_queries=20
-max_threads=8
+concurrency_levels=[8, 16, 32, 64, 128, 256]
+query_levels=[1, 5,10,15,20]
+threads=8
 mode=benchmark
 name=ec2
 os=linux
 parse=None
 password_prompt=False
-query_interval=5
 server_host=localhost
 sleep=60
-starting_concurrency=8
 test=None
 type=all
 verbose=True

+ 1 - 0
toolset/benchmark/utils.py

@@ -33,6 +33,7 @@ def gather_tests(include = [], exclude=[], benchmarker=None):
   
   # Setup default Benchmarker using example configuration
   if benchmarker is None:
+    print "Creating Benchmarker from benchmark.cfg.example"
     default_config = setup_util.get_fwroot() + "/benchmark.cfg.example"
     config = ConfigParser.SafeConfigParser()
     config.readfp(open(default_config))