mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-25 02:13:24 +00:00
Add select file test
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
fd5fe26fae
commit
2aaf08e2dc
7
test/benchmark/lmbench-select-file/config.json
Normal file
7
test/benchmark/lmbench-select-file/config.json
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"alert_threshold": "125%",
|
||||||
|
"alert_tool": "customSmallerIsBetter",
|
||||||
|
"search_pattern": "Select on ",
|
||||||
|
"result_index": "5",
|
||||||
|
"description": "The latency of select file on a single processor."
|
||||||
|
}
|
14
test/benchmark/lmbench-select-file/result_template.json
Normal file
14
test/benchmark/lmbench-select-file/result_template.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "Average select file latency on Linux",
|
||||||
|
"unit": "µs",
|
||||||
|
"value": 0,
|
||||||
|
"extra": "linux_avg"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Average select file latency on Asterinas",
|
||||||
|
"unit": "µs",
|
||||||
|
"value": 0,
|
||||||
|
"extra": "aster_avg"
|
||||||
|
}
|
||||||
|
]
|
9
test/benchmark/lmbench-select-file/run.sh
Normal file
9
test/benchmark/lmbench-select-file/run.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# SPDX-License-Identifier: MPL-2.0
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "*** Running the LMbench select file latency test ***"
|
||||||
|
|
||||||
|
/benchmark/bin/lmbench/lat_select -P 1 file
|
Reference in New Issue
Block a user