Skip to content

Commit

Permalink
update benchmarks and ci for swift 6
Browse files Browse the repository at this point in the history
  • Loading branch information
gh123man committed Oct 16, 2024
1 parent a071339 commit c4c1e9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-13]
swift: ["5.9"]
swift: ["6.0"]
runs-on: ${{ matrix.os }}
steps:
- uses: swift-actions/setup-swift@v2
Expand Down
5 changes: 2 additions & 3 deletions Benchmarks/Sources/Benchmarks/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import CoreFoundation
import AsyncAlgorithms


let iterations = 10

protocol Initializable {
protocol Initializable: Sendable {
init()
}

Expand All @@ -26,7 +25,7 @@ struct ValueData: Initializable {
}
}

class RefData: Initializable {
final class RefData: Initializable {
let foo: String
let bar: Int
required init() {
Expand Down

0 comments on commit c4c1e9b

Please sign in to comment.