mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-26 10:53:25 +00:00
Add benchmark CI for sysbench and getpid
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
1b22267a87
commit
36841c50d4
5
regression/benchmark/getpid/config.json
Normal file
5
regression/benchmark/getpid/config.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"alert_threshold": "125%",
|
||||
"pattern": "Syscall average latency:",
|
||||
"field": "4"
|
||||
}
|
14
regression/benchmark/getpid/result_template.json
Normal file
14
regression/benchmark/getpid/result_template.json
Normal file
@ -0,0 +1,14 @@
|
||||
[
|
||||
{
|
||||
"name": "Average Syscall Latency on Linux",
|
||||
"unit": "ns",
|
||||
"value": 0,
|
||||
"extra": "linux_avg"
|
||||
},
|
||||
{
|
||||
"name": "Average Syscall Latency on Asterinas",
|
||||
"unit": "ns",
|
||||
"value": 0,
|
||||
"extra": "aster_avg"
|
||||
}
|
||||
]
|
9
regression/benchmark/getpid/run.sh
Normal file
9
regression/benchmark/getpid/run.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
set -e
|
||||
|
||||
echo "*** Running getpid ***"
|
||||
|
||||
/benchmark/bin/getpid
|
Reference in New Issue
Block a user