(b *testing.B)
| 1627 | } |
| 1628 | |
| 1629 | func BenchmarkSelect3(b *testing.B) { |
| 1630 | bt := WithTemplate(&testTemplate) |
| 1631 | for n := 0; n < b.N; n++ { |
| 1632 | _ = bt.Select().From("artist a", "publication as p").Where("p.author_id = a.id").Limit(1).String() |
| 1633 | } |
| 1634 | } |
| 1635 | |
| 1636 | func BenchmarkSelect4(b *testing.B) { |
| 1637 | bt := WithTemplate(&testTemplate) |