aboutgitcodebugslistschat
path: root/test
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2023-11-10 06:35:54 +0100
committerStefano Brivio <sbrivio@redhat.com>2023-11-10 06:35:54 +0100
commit2c1554c994e56316ff9272f7204f09b478a9b607 (patch)
tree5c8ba620ee329ca9220b9ddaf8a93cf3d1bdff4a /test
parent56d9f6d588306301aed332ca926da91a816bafd1 (diff)
downloadpasst-2c1554c994e56316ff9272f7204f09b478a9b607.tar
passt-2c1554c994e56316ff9272f7204f09b478a9b607.tar.gz
passt-2c1554c994e56316ff9272f7204f09b478a9b607.tar.bz2
passt-2c1554c994e56316ff9272f7204f09b478a9b607.tar.lz
passt-2c1554c994e56316ff9272f7204f09b478a9b607.tar.xz
passt-2c1554c994e56316ff9272f7204f09b478a9b607.tar.zst
passt-2c1554c994e56316ff9272f7204f09b478a9b607.zip
test/lib/perf_report: Fix up table highlight for pasta's local flows
As commit 29269705239f ("test/perf: Small MTUs for spliced TCP aren't interesting") drops all columns for TCP test MTUs except for one, in throughput test for pasta's local flows, the first column we need to highlight in that table is now the second one. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/lib/perf_report10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/lib/perf_report b/test/lib/perf_report
index d51a2b4..67f9f4e 100755
--- a/test/lib/perf_report
+++ b/test/lib/perf_report
@@ -50,6 +50,14 @@ td:empty { visibility: hidden; }
</table>
<style type="text/CSS">
+table.pasta_local td { border: 0px solid; padding: 6px; line-height: 1; }
+table.pasta_local td { text-align: right; }
+table.pasta_local th { text-align: center; font-weight: bold; }
+table.pasta_local tr:not(:first-of-type) td:not(:first-of-type) { font-family: monospace; font-weight: bolder; }
+table.pasta_local tr:nth-child(3n+0) { background-color: #112315; }
+table.pasta_local tr:not(:nth-child(3n+0)) td { background-color: #101010; }
+table.pasta_local td:nth-child(3n+2) { background-color: #603302; }
+table.pasta_local tr:nth-child(1) { background-color: #363e61; }
table.pasta td { border: 0px solid; padding: 6px; line-height: 1; }
table.pasta td { text-align: right; }
table.pasta th { text-align: center; font-weight: bold; }
@@ -62,7 +70,7 @@ td:empty { visibility: hidden; }
</style>
</li><li><p>pasta: local connections/traffic</p>
-<table class="pasta" width="70%">
+<table class="pasta_local" width="70%">
<tr>
<th/>
<th id="perf_pasta_lo_tcp" colspan="__pasta_lo_tcp_cols__">TCP, __pasta_lo_tcp_threads__ at __pasta_lo_tcp_freq__ GHz</th>