-
Notifications
You must be signed in to change notification settings - Fork 47
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
Adding the matmul benchmark from plb2 #526
Conversation
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.
Please could you add the note you included in the comment here (about hyperfine
) to the guide you made? And rename that guide to README.md
, since that's effectively what it is?
You'll note this is failing one of the release tests, which you can repro locally with |
3d88e52
to
a42733e
Compare
Adding notes to the new README.md: I need a suggestion on how other devs can test two different versions of PDL on the same benchmark on the same command line. Different environment variables are a possibility, as are different paths. How do you work with 2 PDLs in the same git repo? Hyperfine takes the commands to run in single quotes, like so
Thoughts? Edit: hyperfine has |
It's not really a "thing". Why would it be? By the way, your most recent commit is a merge instead of a rebase. Please rebase and force-push, like the other times. Please make this part of your normal practice. |
This is still not fixed. |
For 2 PDLs, I'm thinking of the case where you want to know if your code change has affected the benchmark. I've added this to my git config (edited)
MANIFEST is fixed locally and will go up in the next commit. If you've no bright ideas, I'll push the README I've got so far. |
In the normal way, I'd run the benchmark, make the change, run it again. But one can achieve similar with
My approach would be (and is) to push changes as I have them. Small, beneficial changes should be the "unit" of a commit. |
b4d65e1
to
c9d5f5c
Compare
Requested changes made to MANIFEST and README.md PR submitted to attractivechaos/plb2 |
This PR is now in much better shape, thank you. Your PR on plb2 looks good, too. Are you planning to add more to this, or shall I merge it? |
You can merge this. I'll come back to the other benchmarks after I've got my modules passing cpants again. |
Getting a start on #518. Adding matmul from the Programming Language Benchmark, I've created a tasks directory under examples/Benchmark for the scripts and included a guide to hold notes for hopeful benchmarkers.
If there's a better way of creating the matrices, let me know.
You can run a comparison with the Perl script using hyperfine
I recommend low values at first because at N=1500, hyperfine takes over 10 minutes to measure the Perl script.