summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/benchmark/check-for-outliers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/benchmark/check-for-outliers.py b/scripts/benchmark/check-for-outliers.py
index 6037ef00..309e6828 100755
--- a/scripts/benchmark/check-for-outliers.py
+++ b/scripts/benchmark/check-for-outliers.py
@@ -145,6 +145,8 @@ def detect_bad_outlier(test, mean, extra):
def _detect_outlier(test, name, value, list):
+ if not list:
+ return 0
mean = _mean(list)
std = _std(list)
result = 0