From c3de660baf06c915486e6cf7cd7f4d0e61c3be5e Mon Sep 17 00:00:00 2001 From: Daniel Duan Date: Thu, 1 Jan 2026 00:56:10 -0800 Subject: [PATCH 1/2] Run PR benchmarks on macOS runner --- .github/workflows/benchmark-pr.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/benchmark-pr.yml b/.github/workflows/benchmark-pr.yml index 62ee6958..2bd7c245 100644 --- a/.github/workflows/benchmark-pr.yml +++ b/.github/workflows/benchmark-pr.yml @@ -14,7 +14,7 @@ env: jobs: benchmark-delta: name: PR vs main - runs-on: ubuntu-latest + runs-on: macos-latest continue-on-error: true permissions: issues: write @@ -25,10 +25,9 @@ jobs: with: fetch-depth: 0 - - name: Ubuntu deps + - name: Install deps run: | - sudo apt-get update - sudo apt-get install -y libjemalloc-dev + brew install jemalloc - name: Git URL token override and misc run: | From dd7530d9875e73a24a563f6fe6671c86838c4371 Mon Sep 17 00:00:00 2001 From: Daniel Duan Date: Thu, 1 Jan 2026 01:00:23 -0800 Subject: [PATCH 2/2] temporarily disable benchmark conditions --- .github/workflows/benchmark-pr.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/benchmark-pr.yml b/.github/workflows/benchmark-pr.yml index 2bd7c245..c29bba03 100644 --- a/.github/workflows/benchmark-pr.yml +++ b/.github/workflows/benchmark-pr.yml @@ -4,9 +4,6 @@ on: workflow_dispatch: pull_request: branches: [ main ] - paths: - - 'Sources/TOMLDecoder/**/*.swift' - - 'Sources/TOMLDecoder/**/*.gyb' env: TOMLDECODER_BENCHMARKS: "1"