Skip to content

Commit 3cad1af

Browse files
committed
Update Benchmarks
1 parent 96e79f6 commit 3cad1af

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Benchmarks/Benchmarks/NIOPosixBenchmarks/Benchmarks.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ private let eventLoop = MultiThreadedEventLoopGroup.singleton.next()
2121
let benchmarks = {
2222
let defaultMetrics: [BenchmarkMetric] = [
2323
.mallocCountTotal,
24-
.cpuTotal
24+
.cpuTotal,
2525
.contextSwitches
2626
]
2727

@@ -53,7 +53,6 @@ let benchmarks = {
5353

5454
// This benchmark is only available above 5.9 since our EL conformance
5555
// to serial executor is also gated behind 5.9.
56-
#if compiler(>=5.9)
5756
Benchmark(
5857
"TCPEchoAsyncChannel using globalHook 1M times",
5958
configuration: .init(
@@ -77,7 +76,6 @@ let benchmarks = {
7776
eventLoop: eventLoop
7877
)
7978
}
80-
#endif
8179

8280
Benchmark(
8381
"MTELG.scheduleTask(in:_:)",

Benchmarks/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.7
1+
// swift-tools-version: 5.9
22

33
import PackageDescription
44

0 commit comments

Comments
 (0)