diff --git a/test/benchmark/lmbench-select-file/config.json b/test/benchmark/lmbench-select-file/config.json new file mode 100644 index 000000000..d5990424c --- /dev/null +++ b/test/benchmark/lmbench-select-file/config.json @@ -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." +} diff --git a/test/benchmark/lmbench-select-file/result_template.json b/test/benchmark/lmbench-select-file/result_template.json new file mode 100644 index 000000000..1523fa685 --- /dev/null +++ b/test/benchmark/lmbench-select-file/result_template.json @@ -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" + } +] \ No newline at end of file diff --git a/test/benchmark/lmbench-select-file/run.sh b/test/benchmark/lmbench-select-file/run.sh new file mode 100644 index 000000000..63b518538 --- /dev/null +++ b/test/benchmark/lmbench-select-file/run.sh @@ -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 \ No newline at end of file