-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update performance baseline checks #4520
Conversation
- add more details to TestStatus logs for base, comp, threshold - append (not overwrite) to perf-baselines to keep history - record sha and date of new blesses
@@ -429,7 +428,7 @@ def read_baseline_file(baseline_file): | |||
Value stored in baseline file without comments. | |||
""" | |||
with open(baseline_file) as fd: | |||
lines = [x.strip() for x in fd.readlines() if not x.startswith("#")] | |||
lines = [x.strip().split(" ")[-1] for x in fd.readlines() if not x.startswith("#")] | |||
|
|||
return "\n".join(lines) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be return lines[-1]
to return the latest value.
@amametjanov Just need the one change, passing pre-commit and tests. I can fix the tests if you'd like. |
1f0768d
to
94d0d8b
Compare
Also add black formatting and update unit tests.
94d0d8b
to
ef22a0c
Compare
You can preview documentation at https://esmci.github.io/cime/branch/azamat/baselines/update-perf-info/html/index.html |
Update performance baseline checks:
Test suite: PFS.ne30pg2_r05_oECv3.F2010.chrysalis_intel.bench-noio
Test baseline: same
Test namelist changes: none
Test status: bit for bit
User interface changes?: N
Update gh-pages html (Y/N)?: N