Reorganize the structure of benchmarks

This commit is contained in:
Fabing Li
2024-09-13 17:35:52 +08:00
committed by Tate, Hongliang Tian
parent 7a13c0dff6
commit 32bfa76703
126 changed files with 362 additions and 282 deletions

View File

@ -0,0 +1,8 @@
{
"alert_threshold": "125%",
"alert_tool": "customSmallerIsBetter",
"search_pattern": "TCP\\/IP connection cost to 127.0.0.1:",
"result_index": "6",
"description": "lat_connect",
"title": "[TCP sockets] The latency of connect"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average TCP connection latency on Linux",
"unit": "µs",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average TCP connection latency on Asterinas",
"unit": "µs",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,11 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running lmbench TCP connection latency test***"
/benchmark/bin/lmbench/lat_connect -s
/benchmark/bin/lmbench/lat_connect 127.0.0.1
/benchmark/bin/lmbench/lat_connect -S 127.0.0.1