From a204defc04b29d9ecfba2f4f51aa88695b393685 Mon Sep 17 00:00:00 2001 From: Skye Gill Date: Fri, 24 Feb 2023 10:35:11 +0000 Subject: [PATCH 1/3] chore: use -short flag in benchmark tests Signed-off-by: Skye Gill --- .github/workflows/build.yaml | 2 +- .github/workflows/publish-benchmark.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ea2f418b6..ee31b35cc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,7 +29,7 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - name: Run benchmark - run: go test -bench . -benchtime=5s -benchmem ./... | tee output.txt + run: go test -bench=Bench -short -benchtime=5s -benchmem ./... | tee output.txt - name: Store benchmark result uses: benchmark-action/github-action-benchmark@v1 diff --git a/.github/workflows/publish-benchmark.yaml b/.github/workflows/publish-benchmark.yaml index d985190b3..d3b414b08 100644 --- a/.github/workflows/publish-benchmark.yaml +++ b/.github/workflows/publish-benchmark.yaml @@ -20,7 +20,7 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - name: Run benchmark - run: set -o pipefail; go test -bench . -benchtime=5s -benchmem ./... | tee output.txt + run: set -o pipefail; go test -bench=Bench -short -benchtime=5s -benchmem ./... | tee output.txt - name: Store benchmark result uses: benchmark-action/github-action-benchmark@v1 From 082b80b2a21eeb78953531c3cb1c0e7f8207d149 Mon Sep 17 00:00:00 2001 From: Skye Gill Date: Fri, 24 Feb 2023 16:45:33 +0000 Subject: [PATCH 2/3] bump test-harness Signed-off-by: Skye Gill --- test-harness | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-harness b/test-harness index b59af3d55..9437dff2a 160000 --- a/test-harness +++ b/test-harness @@ -1 +1 @@ -Subproject commit b59af3d554781c35d75433167c6948f62c458953 +Subproject commit 9437dff2a762bb5271bce746d3b1c6a70671c0ba From 7a48506f8df765507fa76fb61d855381564fa52b Mon Sep 17 00:00:00 2001 From: Skye Gill Date: Fri, 24 Feb 2023 16:57:01 +0000 Subject: [PATCH 3/3] bump test-harness Signed-off-by: Skye Gill --- test-harness | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-harness b/test-harness index 9437dff2a..48c56d131 160000 --- a/test-harness +++ b/test-harness @@ -1 +1 @@ -Subproject commit 9437dff2a762bb5271bce746d3b1c6a70671c0ba +Subproject commit 48c56d1314ba89f6d1fdc2c17a8e4ac42e6b1981