Skip to content
Snippets Groups Projects

Make Benchmark Trend Slop Threshold configureable

8 files
+ 61
37
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -136,6 +136,11 @@ def benchmark_parser(description):
metavar='<strategy>',
default=os.environ.get('SEARCH_STRATEGY', 'default'),
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 the trend search strategies use to determine that a load could be handled.')
return parser
Loading