MCPcopy Create free account
hub / github.com/prometheus/common / BenchmarkJSONMarshallingSamplePairMatrix

Function BenchmarkJSONMarshallingSamplePairMatrix

model/value_float_test.go:302–307  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

300}
301
302func BenchmarkJSONMarshallingSamplePairMatrix(b *testing.B) {
303 for i := 0; i < b.N; i++ {
304 _, err := json.Marshal(samplePairMatrixValue)
305 require.NoErrorf(b, err, "error marshalling")
306 }
307}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected