mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 18:03:25 +00:00
Add signal install test
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
39a66aea67
commit
488445b9e8
7
test/benchmark/lmbench-signal-install/config.json
Normal file
7
test/benchmark/lmbench-signal-install/config.json
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"alert_threshold": "125%",
|
||||
"alert_tool": "customSmallerIsBetter",
|
||||
"search_pattern": "Signal handler installation:",
|
||||
"result_index": "4",
|
||||
"description": "The latency of signal handling on a single processor."
|
||||
}
|
14
test/benchmark/lmbench-signal-install/result_template.json
Normal file
14
test/benchmark/lmbench-signal-install/result_template.json
Normal file
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"name": "Average Signal handler install latency on Linux",
|
||||
"unit": "µs",
|
||||
"value": 0,
|
||||
"extra": "linux_avg"
|
||||
},
|
||||
{
|
||||
"name": "Average Signal handler install latency on Asterinas",
|
||||
"unit": "µs",
|
||||
"value": 0,
|
||||
"extra": "aster_avg"
|
||||
}
|
||||
]
|
9
test/benchmark/lmbench-signal-install/run.sh
Normal file
9
test/benchmark/lmbench-signal-install/run.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running lmbench-signal install ***"
|
||||
|
||||
/benchmark/bin/lmbench/lat_sig -P 1 install
|
Reference in New Issue
Block a user