Moved profiling integration test to core integ tests.
Added coverage for dependency resolution time in the profile report.
Added coverage for project evaluation time in the profile report.
Removed dead code from ProjectProfile
Profile report coverage and refactoring. Rename job for consistency.
Profile report coverage and refactoring. Added coverage for task status information.
Profile report coverage and refactoring. Added coverage for task duration.
Made the total configuration time in the "Summary" tab consistent with the value "All projects" in the "Configuration" tab. This way, the report no longer looks unsmart presenting different numbers for the same operation. The figures on the summary tab don't add up to the total build time and they never did AFAIR. I think this is a minor issue. Removed some no longer needed code in the BuildProfile.
REVIEW-1714 Refactored the logic behind sorting the items of the profile report and added coverage. We could push further and more improvements, like sorting alphabetically when elapsed time is the same, using tree sets to avoid redundant creation of collections. For now what's included in the commit should be enough.
Profile report refactoring - removed some code after finding common abstraction.
Profile report - added some stuff needed by discovery (I removed it earlier accidentally).
Tweaked the sorting of profile report operations so that if elapsed time is the same, the description of the operation is used. This way we guarantee that the tests are not flaky and the order of items is consistent.
Profile report - added some stuff needed by discovery (I removed it earlier accidentally).