Skip to content

Commit

Permalink
Filter out failed test-perf runs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Jeffrey committed Jan 5, 2018
1 parent 83a8891 commit fcc64cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion etc/ci/performance/runner.py
Expand Up @@ -281,10 +281,12 @@ def save_result_csv(results, filename, manifest, expected_runs, base):
'unloadEventStart',
]

successes = [r for r in results if r['domComplete'] != -1]

with open(filename, 'w', encoding='utf-8') as csvfile:
writer = csv.DictWriter(csvfile, fieldnames)
writer.writeheader()
writer.writerows(results)
writer.writerows(successes)


def format_result_summary(results):
Expand Down

0 comments on commit fcc64cf

Please sign in to comment.