Merge pull request #21 from slashmo/fix/benchmark-module-names

Prefix Benchmark targets to avoid name clashes
This commit is contained in:
Konrad `ktoso` Malawski 2020-08-18 15:53:09 +09:00 committed by GitHub
commit 5f4ae4a898
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 5 additions and 5 deletions

View File

@ -55,15 +55,15 @@ let package = Package(
// MARK: Performance / Benchmarks
.target(
name: "Benchmarks",
name: "BaggageBenchmarks",
dependencies: [
"Baggage",
"BaggageLogging",
"SwiftBenchmarkTools",
"BaggageBenchmarkTools",
]
),
.target(
name: "SwiftBenchmarkTools",
name: "BaggageBenchmarkTools",
dependencies: []
),
]

View File

@ -12,9 +12,9 @@
//===----------------------------------------------------------------------===//
import Baggage
import BaggageBenchmarkTools
import Dispatch
import class Foundation.NSLock
import SwiftBenchmarkTools
public let BaggagePassingBenchmarks: [BenchmarkInfo] = [
// ==== ----------------------------------------------------------------------------------------------------------------
// MARK: "Read only" context passing around

View File

@ -11,7 +11,7 @@
//
//===----------------------------------------------------------------------===//
import SwiftBenchmarkTools
import BaggageBenchmarkTools
assert({
print("===========================================================================")