Skip to content
Snippets Groups Projects

Make Benchmark Trend Slop Threshold configureable

9 files
+ 62
37
Compare changes
  • Side-by-side
  • Inline
Files
9
@@ -136,6 +136,11 @@ def benchmark_parser(description):
@@ -136,6 +136,11 @@ def benchmark_parser(description):
metavar='<strategy>',
metavar='<strategy>',
default=os.environ.get('SEARCH_STRATEGY', 'default'),
default=os.environ.get('SEARCH_STRATEGY', 'default'),
help='The benchmarking search strategy. Can be set to default, linear-search or binary-search')
help='The benchmarking search strategy. Can be set to default, linear-search or binary-search')
 
parser.add_argument('--threshold',
 
type=int,
 
metavar='<threshold>',
 
default=os.environ.get('THRESHOLD', 2000),
 
help='The threshold for the trend slop that the search strategies use to determine that a load could be handled')
return parser
return parser
Loading