about summary refs log tree commit diff
path: root/src/ci/cpu-usage-over-time.py
AgeCommit message (Collapse)AuthorLines
2025-05-14Migrate to modern datetime APIEmmanuel Ferdman-1/+1
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-12-04Reformat Python code with `ruff`Jakub Beránek-11/+25
2023-06-16Apply changes to fix python linting errorsTrevor Gross-0/+0
2022-02-04Update CPU idle tracking for apple hostsMark Rousskov-22/+22
The previous setup did not properly consider hyperthreads (at least in local testing), which likely skews CI results as well. The new code is both simpler and hopefully will produce more accurate results.
2021-07-06migrate cpu-usage-over-time.py to python 3Pietro Albini-2/+5
The only change here is a fix for `sys.platform` on Linux. Python 3.3 changed the API to return "linux" instead of "linux2"/"linux3", so this commit uses `.startswith("python")` to make the code work on Python 3 without breaking Python 2.
2020-02-07remove unnecessary semicolonsChris Simpkins-3/+3
2019-06-18ci: Add a script for generating CPU usage graphsAlex Crichton-17/+2
This commit checks in a script which generates CPU usage graphs over time, expanding on the previous comment that was include in the collection file.
2019-06-11ci: Collect CPU usage statistics on AzureAlex Crichton-0/+175
This commit adds a script which we'll execute on Azure Pipelines which is intended to run in the background and passively collect CPU usage statistics for our builders. The intention here is that we can use this information over time to diagnose issues with builders, see where we can optimize our build, fix parallelism issues, etc. This might not end up being too useful in the long run but it's data we've wanted to collect for quite some time now, so here's a stab at it! Comments about how this is intended to work can be found in the python script used here to collect CPU usage statistics. Closes #48828