@@ -55,7 +55,7 @@ struct QueryPerformanceTests {
5555 @Test func queryPerformance_01_Search_packageMatchQuery( ) async throws {
5656 try await withStagingApp { app in
5757 let query = Search . packageMatchQueryBuilder ( on: app. db, terms: [ " a " ] , filters: [ ] )
58- try await assertQueryPerformance ( query, expectedCost: 2000 , variation: 150 )
58+ try await assertQueryPerformance ( query, expectedCost: 2200 , variation: 150 )
5959 }
6060 }
6161
@@ -69,7 +69,7 @@ struct QueryPerformanceTests {
6969 @Test func queryPerformance_03_Search_authorMatchQuery( ) async throws {
7070 try await withStagingApp { app in
7171 let query = Search . authorMatchQueryBuilder ( on: app. db, terms: [ " a " ] )
72- try await assertQueryPerformance ( query, expectedCost: 1200 , variation: 50 )
72+ try await assertQueryPerformance ( query, expectedCost: 1300 , variation: 50 )
7373 }
7474 }
7575
@@ -180,7 +180,7 @@ struct QueryPerformanceTests {
180180 JOIN versions v ON v.package_id = p.id
181181 WHERE v.reference ->> 'branch' = r.default_branch
182182 """ )
183- try await assertQueryPerformance ( query, expectedCost: 210_000 , variation: 5000 )
183+ try await assertQueryPerformance ( query, expectedCost: 220_000 , variation: 10000 )
184184 }
185185 }
186186
0 commit comments