mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Merge pull request #90 from benlangmuir/perf-slow
Workaround perf test running too many iterations
This commit is contained in:
@@ -24,8 +24,7 @@ final class SupportPerfTests: PerfTestCase {
|
||||
"\t", "\n"
|
||||
] + (32...126).map { Character(UnicodeScalar($0)) }
|
||||
|
||||
// The debug performance is shockingly bad.
|
||||
#if DEBUG
|
||||
#if DEBUG || !ENABLE_PERF_TESTS
|
||||
let iterations = 1_000
|
||||
#else
|
||||
let iterations = 10_000
|
||||
@@ -54,8 +53,7 @@ final class SupportPerfTests: PerfTestCase {
|
||||
"\t", "\n"
|
||||
] + (32...126).map { Character(UnicodeScalar($0)) }
|
||||
|
||||
// The debug performance is shockingly bad.
|
||||
#if DEBUG
|
||||
#if DEBUG || !ENABLE_PERF_TESTS
|
||||
let iterations = 1_000
|
||||
let size = 1_000
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user