From 1c5666cfa3de752b6fb8c6366553c9eb55e48faa Mon Sep 17 00:00:00 2001 From: Zejun Zhao Date: Fri, 13 Dec 2024 19:12:29 +0800 Subject: [PATCH] Make sysbench configuration compatible with new benchmark framework --- .../sysbench/cpu_lat/bench_result.json | 22 ++++++++++++------- .../sysbench/thread_lat/bench_result.json | 22 ++++++++++++------- 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/test/benchmark/sysbench/cpu_lat/bench_result.json b/test/benchmark/sysbench/cpu_lat/bench_result.json index b8544be01..5ff04d38e 100644 --- a/test/benchmark/sysbench/cpu_lat/bench_result.json +++ b/test/benchmark/sysbench/cpu_lat/bench_result.json @@ -1,10 +1,16 @@ { - "alert_threshold": "130%", - "alert_tool": "customSmallerIsBetter", - "search_pattern": "avg:", - "result_index": "NF", - "description": "sysbench cpu", - "title": "[CPU] CPU performance", - "unit": "ms", - "legend": "Average Execution Time per CPU on {system}" + "alert": { + "threshold": "130%", + "bigger_is_better": false + }, + "result_extraction": { + "search_pattern": "avg:", + "result_index": "NF" + }, + "chart": { + "title": "[CPU] CPU performance", + "description": "sysbench cpu", + "unit": "ms", + "legend": "Average Execution Time per CPU on {system}" + } } \ No newline at end of file diff --git a/test/benchmark/sysbench/thread_lat/bench_result.json b/test/benchmark/sysbench/thread_lat/bench_result.json index 7589abd76..85de2a952 100644 --- a/test/benchmark/sysbench/thread_lat/bench_result.json +++ b/test/benchmark/sysbench/thread_lat/bench_result.json @@ -1,10 +1,16 @@ { - "alert_threshold": "130%", - "alert_tool": "customSmallerIsBetter", - "search_pattern": "avg:", - "result_index": "NF", - "description": "sysbench threads", - "title": "[Threads] Threads performance", - "unit": "ms", - "legend": "Average Execution Time per Thread on {system}" + "alert": { + "threshold": "130%", + "bigger_is_better": false + }, + "result_extraction": { + "search_pattern": "avg:", + "result_index": "NF" + }, + "chart": { + "title": "[Threads] Threads performance", + "description": "sysbench threads", + "unit": "ms", + "legend": "Average Execution Time per Thread on {system}" + } } \ No newline at end of file