Skip to content

Commit

Permalink
memalloc: remove dead code
Browse files Browse the repository at this point in the history
This is not how packages in Julia are used, especially since precompile. If we wanted something like this back, it would be more logical to have a simple script `bin/memalloc` to drive this functionality.

Closes #98
  • Loading branch information
vtjnash authored and fingolfin committed Nov 17, 2020
1 parent 36fc28a commit 1d79890
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/memalloc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,3 @@ const analyze_malloc = CoverageTools.analyze_malloc
const analyze_malloc_files = CoverageTools.analyze_malloc_files
const find_malloc_files = CoverageTools.find_malloc_files
const sortbybytes = CoverageTools.sortbybytes

# Support Unix command line usage like `julia Coverage.jl $(find ~/.julia/v0.6 -name "*.jl.mem")`
if abspath(PROGRAM_FILE) == joinpath(@__DIR__, "Coverage.jl")
bc = analyze_malloc_files(ARGS)
println(bc)
end

0 comments on commit 1d79890

Please sign in to comment.