Skip to content

Commit

Permalink
Update Allocs.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
NHDaly authored Oct 6, 2023
1 parent e1452cd commit e61daf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Allocs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ end
outf = PProf.Allocs.pprof(out=out, web=false)

# Read the exported profile
prof = open(io->decode(ProtoDecoder(io), PProf.perftools.profiles.Profile), outf, "r")
prof = open(io->decode(ProtoDecoder(GzipDecompressorStream(io)), PProf.perftools.profiles.Profile), outf, "r")

# Test for both functions:
@test in("foo(::Float64)", prof.string_table)
Expand Down

0 comments on commit e61daf8

Please sign in to comment.