(b *testing.B)
| 54 | } |
| 55 | |
| 56 | func BenchmarkPlaceholdersArray(b *testing.B) { |
| 57 | var count = b.N |
| 58 | placeholders := make([]string, count) |
| 59 | for i := 0; i < count; i++ { |
| 60 | placeholders[i] = "?" |
| 61 | } |
| 62 | var _ = strings.Join(placeholders, ",") |
| 63 | } |
| 64 | |
| 65 | func BenchmarkPlaceholdersStrings(b *testing.B) { |
| 66 | Placeholders(b.N) |
nothing calls this directly
no test coverage detected
searching dependent graphs…