Update report.py

This commit is contained in:
Alexander Kuzmenkov 2020-09-23 10:28:28 +03:00 committed by GitHub
parent 1321832673
commit 5eaa2a08d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -470,12 +470,13 @@ if args.report == 'main':
'Shortest query<br>(sum for all runs),&nbsp;s', #6
# 'Runs' #7
]
attrs = ['' for c in columns]
attrs[7] = None
text = tableStart('Test Times')
text += tableHeader(columns)
allowed_average_run_time = 3.75 # 60 seconds per test at 7 runs
attrs = ['' for c in columns]
for r in rows:
anchor = f'{currentTableAnchor()}.{r[0]}'
total_runs = (int(r[7]) + 1) * 2 # one prewarm run, two servers