Skip to content

Commit

Permalink
Don't compare Foundation benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-fowler committed May 14, 2024
1 parent 4e67dda commit 4a5e543
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
if: ${{ env.hasBenchmark == '1' }}
run: |
cd Benchmarks
swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark baseline update pull_request
swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark baseline update pull_request --filter "^(?\!Foundation).*"
- name: Switch to branch 'main'
if: ${{ env.hasBenchmark == '1' }}
run: |
Expand All @@ -56,7 +56,7 @@ jobs:
if: ${{ env.hasBenchmark == '1' }}
run: |
cd Benchmarks
swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark baseline update main
swift package --allow-writing-to-directory .benchmarkBaselines/ benchmark baseline update main --filter "^(?\!Foundation).*"
- name: Compare PR and main
if: ${{ env.hasBenchmark == '1' }}
id: benchmark
Expand Down
1 change: 1 addition & 0 deletions Benchmarks/Benchmarks/BaseN/BaseN.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Benchmark
import ExtrasBase64
import Foundation

let benchmarks = {
Benchmark.defaultConfiguration = .init(
Expand Down

0 comments on commit 4a5e543

Please sign in to comment.