mirror of
https://github.com/FirebirdSQL/firebird-qa.git
synced 2025-01-22 13:33:07 +01:00
Added/Updated tests\bugs\core_5302_test.py: added 'perf_issue_tag' string to the output related to performance problem. This text will serve as 'tag' for unambiguous detection of performance problem and set appropriate mark to the test outcome.
This commit is contained in:
parent
30e3e6974e
commit
43db6f3b49
@ -189,7 +189,7 @@ def test_1(act: Action, capsys):
|
||||
|
||||
median_ratio = median(ratio_lst)
|
||||
|
||||
print( MSG_PREFIX + ('acceptable.' if median_ratio < INSERTS_TIME_MAX_RATIO else 'POOR: %s, more than threshold: %s' % ( '{:9g}'.format(median_ratio), '{:9g}'.format(INSERTS_TIME_MAX_RATIO) ) ) )
|
||||
print( MSG_PREFIX + ('acceptable.' if median_ratio < INSERTS_TIME_MAX_RATIO else '/* perf_issue_tag */ POOR: %s, more than threshold: %s' % ( '{:9g}'.format(median_ratio), '{:9g}'.format(INSERTS_TIME_MAX_RATIO) ) ) )
|
||||
if median_ratio >= INSERTS_TIME_MAX_RATIO:
|
||||
print('Ratio statistics for %d measurements' % N_MEASURES)
|
||||
for p in ratio_lst:
|
||||
|
Loading…
Reference in New Issue
Block a user