(b *testing.B)
| 59 | } |
| 60 | |
| 61 | func BenchmarkSequentialMapUnmarshal(b *testing.B) { |
| 62 | in := marshalled() |
| 63 | b.ResetTimer() |
| 64 | for i := 0; i < b.N; i++ { |
| 65 | var out ppb.IntMaps |
| 66 | if err := proto.Unmarshal(in, &out); err != nil { |
| 67 | b.Errorf("Can't unmarshal ppb.IntMaps: %v", err) |
| 68 | } |
| 69 | } |
| 70 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…