Merge pull request #21 from slashmo/fix/benchmark-module-names
Prefix Benchmark targets to avoid name clashes
This commit is contained in:
commit
5f4ae4a898
|
@ -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: []
|
||||
),
|
||||
]
|
||||
|
|
|
@ -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
|
|
@ -11,7 +11,7 @@
|
|||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
import SwiftBenchmarkTools
|
||||
import BaggageBenchmarkTools
|
||||
|
||||
assert({
|
||||
print("===========================================================================")
|
Loading…
Reference in New Issue