From 550ef55c903f2f1b5976e3aab969dcdd71b3c723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 26 Sep 2026 12:43:29 +0200 Subject: [PATCH] Fast path for String performance decoding test --- .../GRDBPerformance/FetchStringTests.swift | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Tests/Performance/GRDBPerformance/FetchStringTests.swift b/Tests/Performance/GRDBPerformance/FetchStringTests.swift index e86838374..411158be0 100644 --- a/Tests/Performance/GRDBPerformance/FetchStringTests.swift +++ b/Tests/Performance/GRDBPerformance/FetchStringTests.swift @@ -55,6 +55,25 @@ class FetchStringTests: XCTestCase { } } + private func measureFetch( + of type: Value.Type, + from column: String) throws + { + let dbQueue = try makeDatabaseQueue() + try dbQueue.read { db in + measure { + for _ in 0..( of type: Value.Type, from column: String) throws