summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstats/gen_report.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/stats/gen_report.py b/stats/gen_report.py
index 4e10bda..310a6e5 100755
--- a/stats/gen_report.py
+++ b/stats/gen_report.py
@@ -156,6 +156,7 @@ def getResultsBenchmarkDiffs(benchmark):
i = 0
origValue = -1
for commit in commits:
+ resultFound = False
for result in commit.results:
if result.benchmark != benchmark:
continue
@@ -168,6 +169,10 @@ def getResultsBenchmarkDiffs(benchmark):
diff = 0
results.append([i, diff])
+ resultFound = True
+
+ if not resultFound:
+ results.append([i, NaN])
i = i + 1
return results