From f22537f94d2f14a232f3f5a919e307fd8bac18db Mon Sep 17 00:00:00 2001 From: Vladimir Kukushkin Date: Tue, 17 Feb 2026 18:51:49 +0000 Subject: [PATCH] =?UTF-8?q?Do=20not=20run=20benchmarks=20on=20linux,=20we?= =?UTF-8?q?=20can=E2=80=99t=20collect=20anything=20anyway=20(#415)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `swift-nio` reusable workflow for running benchmarks has been recently fixed and now linux benchmarks are failing because we do not have any thresholds recorded. The main purpose for `swift-log` benchmarks is to keep track of the amount of instructions and on linux runners performance metrics are not available, so we cannot check the relevant metric. Let's remove them. --- .github/workflows/main.yml | 13 ------------- .github/workflows/pull_request.yml | 14 -------------- 2 files changed, 27 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9c8aa53..9567df8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,12 +30,6 @@ jobs: windows_nightly_next_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" windows_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" - benchmarks: - name: Benchmarks (NoTraits) - uses: apple/swift-nio/.github/workflows/benchmarks.yml@main - with: - benchmark_package_path: "Benchmarks/NoTraits" - macos-benchmarks: name: macOS benchmarks (NoTraits) uses: apple/swift-nio/.github/workflows/macos_benchmarks.yml@main @@ -44,13 +38,6 @@ jobs: macos_xcode_16_4_enabled: true macos_xcode_26_1_enabled: true - benchmarks-MaxLogLevelWarningBenchmarks-trait: - name: Benchmarks (MaxLogLevelWarning) - needs: benchmarks - uses: apple/swift-nio/.github/workflows/benchmarks.yml@main - with: - benchmark_package_path: "Benchmarks/MaxLogLevelWarning" - macos-benchmarks-MaxLogLevelWarningBenchmarks-trait: name: macOS benchmarks (MaxLogLevelWarning) needs: macos-benchmarks diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 6d2f727..44fde75 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -34,12 +34,6 @@ jobs: windows_nightly_next_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" windows_nightly_main_arguments_override: "--explicit-target-dependency-import-check error -Xswiftc -require-explicit-sendable" - benchmarks: - name: Benchmarks (NoTraits) - uses: apple/swift-nio/.github/workflows/benchmarks.yml@main - with: - benchmark_package_path: "Benchmarks/NoTraits" - macos-benchmarks: name: macOS benchmarks (NoTraits) uses: apple/swift-nio/.github/workflows/macos_benchmarks.yml@main @@ -49,14 +43,6 @@ jobs: macos_xcode_16_4_enabled: true macos_xcode_26_1_enabled: true - benchmarks-MaxLogLevelWarningBenchmarks-trait: - name: Benchmarks (MaxLogLevelWarning) - # Workaround for reusing the same benchmarks.yml workflow - needs: benchmarks - uses: apple/swift-nio/.github/workflows/benchmarks.yml@main - with: - benchmark_package_path: "Benchmarks/MaxLogLevelWarning" - macos-benchmarks-MaxLogLevelWarningBenchmarks-trait: name: macOS benchmarks (MaxLogLevelWarning) # Workaround for reusing the same benchmarks.yml workflow