Skip to content

Commit 5c86702

Browse files
committed
Recognize metric postfix _tps in analyze-benchmark as "transactions per second"
1 parent 013d682 commit 5c86702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analyze-benchmarks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def main(instances, resultsfile, percent, targetmetric, targetvalue):
7575
metrics[metric_id][ipat] = []
7676
value = float(metric.get('value'))
7777
if metric_id.startswith(('tps', 'tpm', 'xacts')) or \
78-
metric_id.endswith(('_ops', '_rps')):
78+
metric_id.endswith(('_tps', '_ops', '_rps')):
7979
value = -value
8080
metrics[metric_id][ipat].append(value)
8181
if not inst_ipat:

0 commit comments

Comments
 (0)