mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-26 04:57:52 +00:00
### Motivation: This will allow us to decommission the old CI hooks. ### Modifications: * Migrate the existing tests to use the package-benchmark framework. * Delete the obsolete integration tests * Remove allocations test references from the docker files. ### Result: Allocation counts are checked using GitHub Actions.
31 lines
962 B
Swift
31 lines
962 B
Swift
// swift-tools-version: 5.9
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "benchmarks",
|
|
platforms: [
|
|
.macOS("14")
|
|
],
|
|
dependencies: [
|
|
.package(path: "../"),
|
|
.package(url: "https://github.com/apple/swift-nio.git", from: "2.54.0"),
|
|
.package(url: "https://github.com/ordo-one/package-benchmark.git", from: "1.22.0"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "NIOSSHBenchmarks",
|
|
dependencies: [
|
|
.product(name: "Benchmark", package: "package-benchmark"),
|
|
.product(name: "NIOSSL", package: "swift-nio-ssl"),
|
|
.product(name: "NIOCore", package: "swift-nio"),
|
|
.product(name: "NIOEmbedded", package: "swift-nio"),
|
|
],
|
|
path: "Benchmarks/NIOSSLBenchmarks",
|
|
plugins: [
|
|
.plugin(name: "BenchmarkPlugin", package: "package-benchmark")
|
|
]
|
|
)
|
|
]
|
|
)
|