Measure bloat of CI job execution
Since a few months we have trace sections which we keep track on gitlab-ce~3098698 for every CI job.
Would it make sense to run a bunch of SQL queries measuring the bloat of each CI job:
- how long it takes to clone sources?
- how long it takes to download artifacts?
- how long it takes to deal with caches?
- how long it takes to run
script? - etc.
It could try to answer us how much the bloat is on all preparation phases of CI, and how much further parallelization does help: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23149.
Respective models: Ci::BuildTraceSection.