Skip to content

Commit

Permalink
sort profiler output by total time
Browse files Browse the repository at this point in the history
  • Loading branch information
kodewdle committed Nov 21, 2024
1 parent 5c9c145 commit ea14f3d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ElvUI/Core/General/Commands.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,7 @@ do
end

function E:ProfilerSort(second)
if self.count == second.count then
return self.total > second.total
end

return self.count > second.count
return self.total > second.total
end

function E:SortProfilerData(module, data, overall)
Expand Down

0 comments on commit ea14f3d

Please sign in to comment.