Script to Compare Packages in Benchpark Against Spack Tag#648
Merged
Script to Compare Packages in Benchpark Against Spack Tag#648
Conversation
70f519c to
7cb35b2
Compare
pearce8
requested changes
Mar 2, 2025
Collaborator
pearce8
left a comment
There was a problem hiding this comment.
We need a doc page for utilities in lib/scripts, perhaps call it "Benchpark Utils".
In the doc, please add how to use the spackdiff. Also the altdiff. Although we need better names for these; how about:
- spackdiff should be diffPackages
- altdiff should be diffSpecs
Is there a way to have a more uniform way of using these?
7cb35b2 to
c628885
Compare
27ce164 to
2dd5c9a
Compare
1881911 to
9138dcf
Compare
pearce8
reviewed
Mar 24, 2025
Collaborator
|
@michaelmckinsey1 address #695, get the latest changes from develop into #648, update docs as needed. |
added 6 commits
March 26, 2025 11:41
d99bf5e to
01a7c0d
Compare
93f3bae to
6d05357
Compare
Collaborator
Author
|
https://github.com/LLNL/benchpark/actions/runs/14095972151/job/39483687323 Example of how the CI will fail if one or more |
b0fd1ab to
62203a9
Compare
10 tasks
pearce8
approved these changes
Mar 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
benchpark/repoare the same asvar/spack/repos/builtin/packages.Todo:
We need a doc page for utilities in lib/scripts, perhaps call it "Benchpark Utils".repo/x/package.pyis modifiedAdding/modifying core functionality, CI, or documentation:
benchpark/lib/scripts/spackdiff.pybin/benchpark-python,pyproject.toml, andlib/benchpark/cmd/unit_test.pyto make interactive python optional during execution ofbin/benchpark-python. It should be disabled while using this script.altdiff.pytodiffSpecs.pyto match new script name.Examples
Note: terminal output is colorized

We can check against spack tags like
v0.23.1, or commits like0b3b49b, which benchpark develop uses.python spackdiff.py --spack-tag="0b3b49b"See which lines are different for
bransonpython spackdiff.py --spack-tag="0b3b49b" --print-diffSo the only difference between benchpark and spack branson
package.pyis the lineinstall_tree("inputs", prefix.inputs)in benchpark.