From ecf44620d29cb953d4e7eb968679edd02fe6695f Mon Sep 17 00:00:00 2001 From: Karoy Lorentey Date: Tue, 20 May 2025 15:23:02 -0700 Subject: [PATCH] Also disable SortedCollections benchmarks --- Benchmarks/Sources/Benchmarks/SortedDictionaryBenchmarks.swift | 2 ++ Benchmarks/Sources/Benchmarks/SortedSetBenchmarks.swift | 2 ++ Benchmarks/Sources/benchmark-tool/main.swift | 2 ++ 3 files changed, 6 insertions(+) diff --git a/Benchmarks/Sources/Benchmarks/SortedDictionaryBenchmarks.swift b/Benchmarks/Sources/Benchmarks/SortedDictionaryBenchmarks.swift index 5af4c381..de4f30d7 100644 --- a/Benchmarks/Sources/Benchmarks/SortedDictionaryBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/SortedDictionaryBenchmarks.swift @@ -9,6 +9,7 @@ // //===----------------------------------------------------------------------===// +#if false // SortedCollections is not a thing yet import CollectionsBenchmark import SortedCollections @@ -301,3 +302,4 @@ extension Benchmark { } } } +#endif diff --git a/Benchmarks/Sources/Benchmarks/SortedSetBenchmarks.swift b/Benchmarks/Sources/Benchmarks/SortedSetBenchmarks.swift index be4555d4..b827210f 100644 --- a/Benchmarks/Sources/Benchmarks/SortedSetBenchmarks.swift +++ b/Benchmarks/Sources/Benchmarks/SortedSetBenchmarks.swift @@ -9,6 +9,7 @@ // //===----------------------------------------------------------------------===// +#if false // SortedCollections is not a thing yet import CollectionsBenchmark import SortedCollections @@ -205,3 +206,4 @@ extension Benchmark { } } +#endif diff --git a/Benchmarks/Sources/benchmark-tool/main.swift b/Benchmarks/Sources/benchmark-tool/main.swift index 7060ec8c..1a9f7ab2 100644 --- a/Benchmarks/Sources/benchmark-tool/main.swift +++ b/Benchmarks/Sources/benchmark-tool/main.swift @@ -33,8 +33,10 @@ benchmark.addTreeDictionaryBenchmarks() benchmark.addDequeBenchmarks() benchmark.addOrderedSetBenchmarks() benchmark.addOrderedDictionaryBenchmarks() +#if false benchmark.addSortedSetBenchmarks() benchmark.addSortedDictionaryBenchmarks() +#endif benchmark.addHeapBenchmarks() benchmark.addBitSetBenchmarks() benchmark.addTreeSetBenchmarks()