Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions lib/mix/test/mix/tasks/profile.tprof_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,6 @@ defmodule Mix.Tasks.Profile.TprofTest do
end)
end

test "sorts based on memory per call", context do
in_tmp(context.test, fn ->
assert capture_io(fn ->
Tprof.run(["--type", "memory", "--sort", "calls", "-e", @expr])
end) =~ ~r/Enum\.each\/2\s+1\s+.*\n:erlang\.integer_to_binary\/1\s+5\s+/s
end)
end

test "aggregates totals over all processes", context do
in_tmp(context.test, fn ->
assert capture_io(fn ->
Expand Down