(b *testing.B)
| 133 | } |
| 134 | |
| 135 | func BenchmarkParseString(b *testing.B) { |
| 136 | s := []byte(`"__segment_internal"`) |
| 137 | |
| 138 | d := decoder{} |
| 139 | for range b.N { |
| 140 | d.parseString(s) |
| 141 | } |
| 142 | } |
| 143 | |
| 144 | func BenchmarkToLower(b *testing.B) { |
| 145 | s := []byte("someFieldWithALongName") |
nothing calls this directly
no test coverage detected
searching dependent graphs…