(b *testing.B)
| 1929 | } |
| 1930 | |
| 1931 | func BenchmarkWrite(b *testing.B) { |
| 1932 | p, err := Parse(bytes.NewBuffer(proftest.LargeProfile(b))) |
| 1933 | if err != nil { |
| 1934 | b.Fatal(err) |
| 1935 | } |
| 1936 | b.ResetTimer() |
| 1937 | for i := 0; i < b.N; i++ { |
| 1938 | if err := p.WriteUncompressed(io.Discard); err != nil { |
| 1939 | b.Fatal(err) |
| 1940 | } |
| 1941 | } |
| 1942 | } |
| 1943 | |
| 1944 | func TestMappingUnsymbolizable(t *testing.T) { |
| 1945 | testcases := []struct { |
nothing calls this directly
no test coverage detected
searching dependent graphs…