MCPcopy Index your code
hub / github.com/aarondl/sqlboiler / BenchmarkGenericArrayValueStrings

Function BenchmarkGenericArrayValueStrings

types/array_test.go:1282–1292  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

1280}
1281
1282func BenchmarkGenericArrayValueStrings(b *testing.B) {
1283 x := make([]string, 10)
1284 for i := 0; i < len(x); i++ {
1285 x[i] = strings.Repeat(`abc"def\ghi`, 5)
1286 }
1287 a := GenericArray{x}
1288
1289 for i := 0; i < b.N; i++ {
1290 a.Value()
1291 }
1292}

Callers

nothing calls this directly

Calls 1

ValueMethod · 0.95

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…