From 66d420ac14b5fa856baab62cabdf9e59d3ee075b Mon Sep 17 00:00:00 2001 From: jbajic Date: Mon, 12 Dec 2022 15:41:36 +0100 Subject: [PATCH] Add type to name --- .github/workflows/diff.yaml | 2 +- tests/mgbench/format_json.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/diff.yaml b/.github/workflows/diff.yaml index 8dd77aa9f..2182a462a 100644 --- a/.github/workflows/diff.yaml +++ b/.github/workflows/diff.yaml @@ -282,7 +282,7 @@ jobs: uses: actions/cache@v3 with: path: ./cache - key: ${{ runner.os }}-benchmark + key: ${{ runner.os }}-v1-benchmark # Run `github-action-benchmark` action - name: Store benchmark result diff --git a/tests/mgbench/format_json.py b/tests/mgbench/format_json.py index 05b4bf44d..d1d34fc0b 100755 --- a/tests/mgbench/format_json.py +++ b/tests/mgbench/format_json.py @@ -34,7 +34,7 @@ def adapt_to_benchmark_action(data: Dict[str, Any]) -> List[Dict[str, Any]]: assert "throughput" in type_data, f"There is no throughput in {type_data}!" output.append( { - "name": f"{dataset_name}_{dataset_type}_{execution_type}", + "name": f"{dataset_name}_{dataset_type}_{execution_type}_{type}", "unit": "QPS", "value": type_data["throughput"], }