Skip to content

Commit

Permalink
More stable functions list output
Browse files Browse the repository at this point in the history
  • Loading branch information
aras-p committed Aug 13, 2023
1 parent 2a016a0 commit 0605b0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Analysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ void Analysis::EndAnalysis()
const auto& b = functionsArray[indexB];
if (a.second != b.second)
return a.second > b.second;
return a.first < b.first;
return GetBuildName(a.first.first) < GetBuildName(b.first.first);
});
fprintf(out, "%s%s**** Functions that took longest to compile%s:\n", col::kBold, col::kMagenta, col::kReset);
for (size_t i = 0, n = std::min<size_t>(config.functionCount, indices.size()); i != n; ++i)
Expand Down

0 comments on commit 0605b0a

Please sign in to comment.