(b *testing.B)
| 72 | } |
| 73 | |
| 74 | func BenchmarkTokenEnd_Boolean(b *testing.B) { |
| 75 | data := []byte(`true,`) |
| 76 | b.SetBytes(int64(len(data))) |
| 77 | b.ResetTimer() |
| 78 | for i := 0; i < b.N; i++ { |
| 79 | _ = tokenEnd(data) |
| 80 | } |
| 81 | } |
| 82 | |
| 83 | // --- end-to-end Get with a string value ------------------------------------- |
| 84 | // Verifies that stringEnd's fast path actually shows up in a realistic call. |
nothing calls this directly
no test coverage detected