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": "customBiggerIsBetter",
"search_pattern": "Avg xfer: ",
"result_index": "8",
"description": "bw_http",
"title": "[HTTP] The bandwidth"
}

View File

@ -0,0 +1,14 @@
[
{
"name": "Average simple HTTP transaction bandwidth on Linux",
"unit": "MB/s",
"value": 0,
"extra": "linux_result"
},
{
"name": "Average simple HTTP transaction bandwidth on Asterinas",
"unit": "MB/s",
"value": 0,
"extra": "aster_result"
}
]

View File

@ -0,0 +1,13 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
echo "*** Running lmbench HTTP latency test ***"
dd if=/dev/zero of=test_file bs=1M count=64
echo "test_file" > file_list
/benchmark/bin/lmbench/lmhttp &
/benchmark/bin/lmbench/lat_http 127.0.0.1 < file_list
/benchmark/bin/lmbench/lat_http -S 127.0.0.1