rust/src/ci/scripts
bors 6dadfc06fe 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`
2022-06-05 01:35:03 +00:00
..
checkout-submodules.sh ci: extract checking out submodules into a script 2019-10-25 16:08:33 +02:00
clean-disk.sh Clean out some default-installed directories 2020-02-18 11:34:59 +01:00
collect-cpu-stats.sh migrate cpu-usage-over-time.py to python 3 2021-07-06 16:34:51 +02:00
disable-git-crlf-conversion.sh ci: extract disabling git crlf handling into a script 2019-10-25 16:03:11 +02:00
dump-environment.sh ci: extract dumping the environment into a script 2019-10-25 16:03:04 +02:00
enable-docker-ipv6.sh ci: fix tidy 2019-10-25 16:08:39 +02:00
install-awscli.sh Fix install-awscli.sh error in CI. 2021-02-05 12:17:50 +01:00
install-clang.sh Update LLVM version used to build OS X and Windows artifacts to 14.0.2 2022-05-06 18:25:27 +02:00
install-mingw.sh Adds a GitHub Actions CI build for aarch64-pc-windows-msvc via cross-compilation on an x86_64 host. 2020-09-25 15:08:18 -07:00
install-msys2.sh ci: only copy python.exe to python3.exe if the latter does not exist 2021-02-04 21:24:41 +01:00
install-ninja.sh ci: reuse the mirrors base url from shared.sh in scripts 2019-10-25 16:08:41 +02:00
install-sccache.sh Bump sccache used in CI to v0.2.15 2021-08-25 16:26:45 -04:00
install-wix.sh ci: fix wrong path for wix being set 2019-10-28 15:09:18 +01:00
run-build-from-ci.sh ci: extract running the build into a script 2019-11-12 11:06:11 +01:00
setup-environment.sh ci: add github actions configuration 2020-03-24 15:36:07 +01:00
should-skip-this.sh Run rustdoc GUI tests when browser-ui-test version is updated 2022-03-18 10:50:53 +01:00
symlink-build-dir.sh ci: avoid moving the build directory on GHA 2020-09-10 12:54:29 +02:00
upload-artifacts.sh Auto merge of #93717 - pietroalbini:pa-ci-profiler, r=Mark-Simulacrum 2022-06-05 01:35:03 +00:00
verify-backported-commits.sh Do not unshallow -- already done by other code 2021-09-06 13:17:26 -04:00
verify-channel.sh make verify-channel.sh compatible with macOS 2021-05-12 12:15:39 +02:00
verify-line-endings.sh ci: extract verifying line endings into a script 2019-10-25 16:08:35 +02:00
verify-stable-version-number.sh add script to prevent point releases with same number as existing ones 2022-01-20 21:27:17 +01:00