Commit 1aed2ad1 authored by Lachlan's avatar Lachlan

Fold old single results into historical plot for a given version

* Incorporate buildstream reference into stale list
* Change versioning to reflect original version rather than SHA
parent 32743eed
Pipeline #56189703 passed with stages
in 214 minutes and 52 seconds
......@@ -138,7 +138,7 @@ def main():
now_time = datetime.datetime.now()
past_measurement = datetime.datetime.fromtimestamp(measurement_time)
if (now_time - past_measurement) > datetime.timedelta(days=max_plot_days):
version_stale[version[v_index]] = "True"
version_stale[version[v_index]] = version["buildstream_ref"]
else:
version_date[str(version["buildstream_commit"])] = measurement_time
else:
......@@ -154,7 +154,7 @@ def main():
if version in version_stale:
logging.info("Version marked as stale %s", version)
continue
version = version_stale[version]
total_time = 0.0
total_max_rss_kb = 0.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment