From 4d0393053d1403784d7b022c07a88c880f19f95e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:44:13 +0000 Subject: [PATCH 1/2] Initial plan From 9c2787f4f7a94e5288449ba04f5e4c904a68a8aa Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 31 Dec 2025 12:46:33 +0000 Subject: [PATCH 2/2] Remove PerformancePush.yml workflow with github-action-benchmark Co-authored-by: hsluoyz <3787410+hsluoyz@users.noreply.github.com> --- .github/workflows/PerformancePush.yml | 40 --------------------------- 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/PerformancePush.yml diff --git a/.github/workflows/PerformancePush.yml b/.github/workflows/PerformancePush.yml deleted file mode 100644 index 980dadaf..00000000 --- a/.github/workflows/PerformancePush.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Performance for Push -on: - push: - branches: [ master ] - -permissions: - # deployments permission to deploy GitHub pages website - deployments: write - # contents permission to update benchmark contents in gh-pages branch - contents: write - -jobs: - benchmark: - name: Performance regression check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 - # Run benchmark with `go test -bench` and stores the output to a file - - name: Run benchmark - run: go test -bench '.' -benchtime=2s -benchmem ./... | tee output.txt - # Run `github-action-benchmark` action - - name: Store benchmark result - uses: benchmark-action/github-action-benchmark@v1 - with: - tool: 'go' - output-file-path: output.txt - benchmark-data-dir-path: benchmark-monitoring - save-data-file: false - fail-on-alert: true - alert-threshold: '110%' - fail-threshold: '200%' - # GitHub API token to make a commit comment - github-token: ${{ secrets.GITHUB_TOKEN }} - # Enable alert commit comment - comment-on-alert: true - comment-always: false - gh-pages-branch: gh-pages - # alert-comment-cc-users: '@XXX' - auto-push: true \ No newline at end of file