File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,14 +94,14 @@ func BenchmarkUpsert(b *testing.B) {
9494 })
9595}
9696
97- func BenchmarkReadDeepRelation (b * testing.B ) {
98- fmt .Println ("\n ── ReadDeepRelation ────────────────────────────" )
97+ func BenchmarkFindUniqueSelfRef2L (b * testing.B ) {
98+ fmt .Println ("\n ── FindUniqueSelfRef2L ────────────────────────────" )
9999 orms (b , map [string ]func (* testing.B ){
100- "Raw" : benchRawReadDeepRelation ,
101- "Phi" : benchPhiReadDeepRelation ,
102- "Ent" : benchEntReadDeepRelation ,
103- "GORM" : benchGORMReadDeepRelation ,
104- "Bun" : benchBunReadDeepRelation ,
100+ "Raw" : benchRawFindUniqueSelfRef2L ,
101+ "Phi" : benchPhiFindUniqueSelfRef2L ,
102+ "Ent" : benchEntFindUniqueSelfRef2L ,
103+ "GORM" : benchGORMFindUniqueSelfRef2L ,
104+ "Bun" : benchBunFindUniqueSelfRef2L ,
105105 })
106106}
107107
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ func benchBunUpsert(b *testing.B) {
220220 }
221221}
222222
223- func benchBunReadDeepRelation (b * testing.B ) {
223+ func benchBunFindUniqueSelfRef2L (b * testing.B ) {
224224 ctx := context .Background ()
225225 db := openBun (b )
226226 defer db .Close ()
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ func benchEntUpsert(b *testing.B) {
210210 }
211211}
212212
213- func benchEntReadDeepRelation (b * testing.B ) {
213+ func benchEntFindUniqueSelfRef2L (b * testing.B ) {
214214 ctx := context .Background ()
215215 client := openEnt (b )
216216 defer client .Close ()
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ func benchGORMUpsert(b *testing.B) {
316316 }
317317}
318318
319- func benchGORMReadDeepRelation (b * testing.B ) {
319+ func benchGORMFindUniqueSelfRef2L (b * testing.B ) {
320320 ctx := context .Background ()
321321 db := openGORM (b )
322322 sqlDB , err := db .DB ()
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ func benchPhiUpsert(b *testing.B) {
218218 }
219219}
220220
221- func benchPhiReadDeepRelation (b * testing.B ) {
221+ func benchPhiFindUniqueSelfRef2L (b * testing.B ) {
222222 ctx := context .Background ()
223223 db := initPhiDB (b , ctx )
224224 defer db .Close ()
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ func benchRawUpsert(b *testing.B) {
236236 }
237237}
238238
239- func benchRawReadDeepRelation (b * testing.B ) {
239+ func benchRawFindUniqueSelfRef2L (b * testing.B ) {
240240 ctx := context .Background ()
241241 db := openDB (b )
242242 defer db .Close ()
You can’t perform that action at this time.
0 commit comments