about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-05 01:35:03 +0000
committerbors <bors@rust-lang.org>2022-06-05 01:35:03 +0000
commit6dadfc06fe628d7a381a52b07714a7a849a6223d (patch)
tree5e61f2bf8866db2cc4da719ed09ff5d387985aaf /compiler/rustc_codegen_gcc
parent43874a2ee749c2dd9f052172341f2f87fa36cd79 (diff)
parent70cdd7efc3ab10834dfbfc9a00884388a72a6544 (diff)
downloadrust-6dadfc06fe628d7a381a52b07714a7a849a6223d.tar.gz
rust-6dadfc06fe628d7a381a52b07714a7a849a6223d.zip
Auto merge of #93717 - pietroalbini:pa-ci-profiler, r=Mark-Simulacrum
Add build metrics to rustbuild

This PR adds a new module of rustbuild, `ci_profiler`, whose job is to gather as much information as possible about the CI build as possible and store it in a JSON file uploaded to `ci-artifacts`. Right now for each step it collects:

* Type name and debug representation of the `Step` object.
* Duration of the step (excluding child steps).
* Systemwide CPU stats for the duration of the step (both single core and all cores).
* Which child steps were executed.

This is capable of replacing both the scripts to collect CPU stats and the `[TIMING]` lines in build logs (not yet removed, until we port our tooling to use the CI profiler). The format is also extensible to be able in the future to collect more information.

r? `@Mark-Simulacrum`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions