From e37c7cf306ab31a45c52fcd48d975bba72699f4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 26 Sep 2026 12:37:11 +0200 Subject: [PATCH] Do not measure database access acquisition and Array building --- .../GRDBPerformance/FetchStringTests.swift | 24 ++++++++++++------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/Tests/Performance/GRDBPerformance/FetchStringTests.swift b/Tests/Performance/GRDBPerformance/FetchStringTests.swift index b6de1b013..e86838374 100644 --- a/Tests/Performance/GRDBPerformance/FetchStringTests.swift +++ b/Tests/Performance/GRDBPerformance/FetchStringTests.swift @@ -41,11 +41,15 @@ class FetchStringTests: XCTestCase { func test_record_fetch_performance() throws { let dbQueue = try makePersonDatabase() - measure { - try! dbQueue.read { db in + try dbQueue.read { db in + measure { for _ in 0..