 
 // Sort an array of strings using an explicit sort predicate.
 public let SortStrings = [
-  BenchmarkInfo(name: "SortSortedStrings", runFunction: run_SortSortedStrings, tags: [.validation, .api, .algorithm, .String]),
-  BenchmarkInfo(name: "SortStrings", runFunction: run_SortStrings, tags: [.validation, .api, .algorithm, .String]),
-  BenchmarkInfo(name: "SortStringsUnicode", runFunction: run_SortStringsUnicode, tags: [.validation, .api, .algorithm, .String]),
+  BenchmarkInfo(name: "SortSortedStrings", runFunction: run_SortSortedStrings, tags: [.validation, .api, .algorithm, .String],
+    setUpFunction: { blackHole(sortedWords) }),
+  BenchmarkInfo(name: "SortStrings", runFunction: run_SortStrings, tags: [.validation, .api, .algorithm, .String],
+    setUpFunction: { blackHole(words) }),
+  BenchmarkInfo(name: "SortStringsUnicode", runFunction: run_SortStringsUnicode, tags: [.validation, .api, .algorithm, .String],
+    setUpFunction: { blackHole(unicodeWords) }),
 ]
 
-var stringBenchmarkWords: [String] = [
+let sortedWords = words.sorted()
+let words: [String] = [
   "woodshed",
   "lakism",
   "gastroperiodynia",


public func run_SortStrings(_ N: Int) {
  for _ in 1...5*N {
    benchSortStrings(stringBenchmarkWords)
  }
}

public func run_SortSortedStrings(_ N: Int) {
  let sortedBenchmarkWords = stringBenchmarkWords.sorted()
  for _ in 1...5*N {
    benchSortStrings(sortedBenchmarkWords)
  }
}

var stringBenchmarkWordsUnicode: [String] = [
  "❄️woodshed",
  "❄️lakism",
  "❄️gastroperiodynia",


public func run_SortStringsUnicode(_ N: Int) {
  for _ in 1...5*N {
    benchSortStrings(unicodeWords)
  }
}
