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

Function BenchmarkParseError

expfmt/text_parse_test.go:665–669  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

663}
664
665func BenchmarkParseError(b *testing.B) {
666 for i := 0; i < b.N; i++ {
667 testTextParseError(b)
668 }
669}
670
671func TestTextParserStartOfLine(t *testing.T) {
672 t.Run("EOF", func(t *testing.T) {

Callers

nothing calls this directly

Calls 1

testTextParseErrorFunction · 0.85

Tested by

no test coverage detected