Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Trending: Add ethip4ipsecNspe tests for 2n-tx2
[csit.git]
/
resources
/
tools
/
presentation
/
generator_tables.py
diff --git
a/resources/tools/presentation/generator_tables.py
b/resources/tools/presentation/generator_tables.py
index
a995711
..
917f041
100644
(file)
--- a/
resources/tools/presentation/generator_tables.py
+++ b/
resources/tools/presentation/generator_tables.py
@@
-1167,6
+1167,8
@@
def _generate_url(testbed, test_name):
driver = u"l3fwd"
elif u"avf" in test_name:
driver = u"avf"
driver = u"l3fwd"
elif u"avf" in test_name:
driver = u"avf"
+ elif u"af-xdp" in test_name or u"af_xdp" in test_name:
+ driver = u"af_xdp"
elif u"rdma" in test_name:
driver = u"rdma"
elif u"dnv" in testbed or u"tsh" in testbed:
elif u"rdma" in test_name:
driver = u"rdma"
elif u"dnv" in testbed or u"tsh" in testbed:
@@
-1277,6
+1279,8
@@
def _generate_url(testbed, test_name):
bsf += u"-sw"
elif u"hw" in test_name:
bsf += u"-hw"
bsf += u"-sw"
elif u"hw" in test_name:
bsf += u"-hw"
+ elif u"spe" in test_name:
+ bsf += u"-spe"
elif u"ethip4vxlan" in test_name:
domain = u"ip4_tunnels"
elif u"ethip4udpgeneve" in test_name:
elif u"ethip4vxlan" in test_name:
domain = u"ip4_tunnels"
elif u"ethip4udpgeneve" in test_name:
@@
-2004,14
+2008,14
@@
def table_comparison(table, input_data):
else:
if idx < len(cols):
new_itm = (
else:
if idx < len(cols):
new_itm = (
- f"{round(float(itm[u'mean']) / 1e6,
1
)} "
- f"\u00B1{round(float(itm[u'stdev']) / 1e6,
1
)}".
+ f"{round(float(itm[u'mean']) / 1e6,
2
)} "
+ f"\u00B1{round(float(itm[u'stdev']) / 1e6,
2
)}".
replace(u"nan", u"NaN")
)
else:
new_itm = (
replace(u"nan", u"NaN")
)
else:
new_itm = (
- f"{round(float(itm[u'mean']) / 1e6,
1
):+} "
- f"\u00B1{round(float(itm[u'stdev']) / 1e6,
1
)}".
+ f"{round(float(itm[u'mean']) / 1e6,
2
):+} "
+ f"\u00B1{round(float(itm[u'stdev']) / 1e6,
2
)}".
replace(u"nan", u"NaN")
)
if len(new_itm.rsplit(u" ", 1)[-1]) > max_lens[idx]:
replace(u"nan", u"NaN")
)
if len(new_itm.rsplit(u" ", 1)[-1]) > max_lens[idx]: