From a8c5d0ba7a8ae0bdafa5395588b21b4a3c811576 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Jun 2025 04:47:15 +0000 Subject: [PATCH 1/2] Initial plan for issue From e7d7d36d06af6d041837085e27f7309125e4ae24 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Jun 2025 04:56:23 +0000 Subject: [PATCH 2/2] Add benchmark workflow to save artifacts on main branch pushes Co-authored-by: hossain-khan <99822+hossain-khan@users.noreply.github.com> --- .github/workflows/benchmark.yml | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/benchmark.yml diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml new file mode 100644 index 0000000..35a6b89 --- /dev/null +++ b/.github/workflows/benchmark.yml @@ -0,0 +1,37 @@ +name: Benchmark + +on: + push: + branches: [ main ] + +jobs: + benchmark: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up JDK + uses: actions/setup-java@v4 + with: + java-version: '23' + distribution: 'temurin' + cache: gradle + + # https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#build-with-a-specific-gradle-version + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + with: + gradle-version: '8.14.2' # Quotes required to prevent YAML converting to number + + - name: Run benchmark + run: gradle :benchmark:run + + - name: Upload benchmark artifacts + uses: actions/upload-artifact@v4 + with: + name: benchmark-results + path: | + benchmark/benchmark_results_*.csv + benchmark/benchmark_summary_*.txt + retention-days: 30 \ No newline at end of file