ci: fix typo in benchmark actions (#1344)

This commit is contained in:
Moritz Eckert 2023-03-06 08:49:15 +01:00 committed by GitHub
parent 62c437246b
commit 5397ce4509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -35,9 +35,9 @@ Example table:
| read_bw | bw_kbytes (KiB/s) | 28302.0 | 28530.0 | 0.992 ⬇️ | | read_bw | bw_kbytes (KiB/s) | 28302.0 | 28530.0 | 0.992 ⬇️ |
| write_bw | bw_kbytes (KiB/s) | 4159.0 | 2584.0 | 1.61 ⬆️ | | write_bw | bw_kbytes (KiB/s) | 4159.0 | 2584.0 | 1.61 ⬆️ |
| pod2pod | tcp_bw_mbit (MiB/s) | 20450.0 | 929.0 | 22.013 ⬆️ | | pod2pod | tcp_bw_mbit (MiB/s) | 20450.0 | 929.0 | 22.013 ⬆️ |
| pod2pod | upd_bw_mbit (MiB/s) | 1138.0 | 750.0 | 1.517 ⬆️ | | pod2pod | udp_bw_mbit (MiB/s) | 1138.0 | 750.0 | 1.517 ⬆️ |
| pod2svc | tcp_bw_mbit (MiB/s) | 21188.0 | 905.0 | 23.412 ⬆️ | | pod2svc | tcp_bw_mbit (MiB/s) | 21188.0 | 905.0 | 23.412 ⬆️ |
| pod2svc | upd_bw_mbit (MiB/s) | 1137.0 | 746.0 | 1.524 ⬆️ | | pod2svc | udp_bw_mbit (MiB/s) | 1137.0 | 746.0 | 1.524 ⬆️ |
</details> </details>

View File

@ -11,7 +11,7 @@ BIGGER_BETTER = [
'iops', 'iops',
'bw_kbytes', 'bw_kbytes',
'tcp_bw_mbit', 'tcp_bw_mbit',
'upd_bw_mbit', 'udp_bw_mbit',
] ]
# Lookup for test suite -> unit # Lookup for test suite -> unit
@ -19,7 +19,7 @@ UNIT_STR = {
'iops': 'IOPS', 'iops': 'IOPS',
'bw_kbytes': 'KiB/s', 'bw_kbytes': 'KiB/s',
'tcp_bw_mbit': 'Mbit/s', 'tcp_bw_mbit': 'Mbit/s',
'upd_bw_mbit': 'Mbit/s', 'udp_bw_mbit': 'Mbit/s',
} }
# API units are ms, so this is shorter than cluttering the dictionary: # API units are ms, so this is shorter than cluttering the dictionary:
API_UNIT_STR = "ms" API_UNIT_STR = "ms"
@ -29,7 +29,7 @@ ALLOWED_RATIO_DELTA = {
'iops': 0.7, 'iops': 0.7,
'bw_kbytes': 0.7, 'bw_kbytes': 0.7,
'tcp_bw_mbit': 0.7, 'tcp_bw_mbit': 0.7,
'upd_bw_mbit': 0.7, 'udp_bw_mbit': 0.7,
} }
def is_bigger_better(bench_suite: str) -> bool: def is_bigger_better(bench_suite: str) -> bool: