Add unix latency benchmark

This commit is contained in:
Yuke Peng 2024-07-18 15:27:45 +08:00 committed by Tate, Hongliang Tian
parent 02ad3d8cab
commit e22d23429e
3 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,5 @@
{
"alert_threshold": "125%",
"pattern": "sock stream latency",
"field": "5"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average unix latency on Linux",
"unit": "ms",
"value": 0,
"extra": "linux_avg"
},
{
"name": "Average unix latency on Asterinas",
"unit": "ms",
"value": 0,
"extra": "aster_avg"
}
]

View File

@ -0,0 +1,9 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running the LMbench unix latency test ***"
/benchmark/bin/lmbench/lat_unix -P 1