mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 09:53:24 +00:00
Reorganize the structure of benchmarks
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
7a13c0dff6
commit
32bfa76703
8
test/benchmark/lmbench/process_exec_lat/config.json
Normal file
8
test/benchmark/lmbench/process_exec_lat/config.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customSmallerIsBetter",
|
||||
"search_pattern": "Process fork\\+execve",
|
||||
"result_index": "3",
|
||||
"description": "lat_proc exec",
|
||||
"title": "[Process] The cost of fork+exec+exit"
|
||||
}
|
14
test/benchmark/lmbench/process_exec_lat/result_template.json
Normal file
14
test/benchmark/lmbench/process_exec_lat/result_template.json
Normal file
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"name": "Average exec latency on Linux",
|
||||
"unit": "µs",
|
||||
"value": 0,
|
||||
"extra": "linux_result"
|
||||
},
|
||||
{
|
||||
"name": "Average exec latency on Asterinas",
|
||||
"unit": "µs",
|
||||
"value": 0,
|
||||
"extra": "aster_result"
|
||||
}
|
||||
]
|
10
test/benchmark/lmbench/process_exec_lat/run.sh
Normal file
10
test/benchmark/lmbench/process_exec_lat/run.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running the LMbench exec latency test ***"
|
||||
|
||||
cp /benchmark/bin/lmbench/hello /tmp/
|
||||
/benchmark/bin/lmbench/lat_proc -P 1 exec
|
Reference in New Issue
Block a user