-
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
Add benchmarks to check performance #518
Comments
I'm assuming that last one is a Freudian slip? You put "pdl2" ;-) There's an instant win for the one Perl one I looked at, And yes, the whole point of making these benchmarks in PDL (that perform well) would be to PR them into that repo. I'm pretty sure with auto-pthreading, the PDL version would (for algorithms that can be parallelised, which my first glance at See #451 for performance-measuring tools and techniques. Another target: https://github.com/FPBench/FPBench |
The hard part will be to understand the fine details of the algorithms and brush up on my indexing. I've got a good-enough matmult ready and current benchmarking is showing it over 60 times faster (still running the final timings) I'm sure it could be improved. |
Good enough is good enough! Open that PR :-D |
The PR I meant was against The further work could include bringing the "example" benchmark up to date, because it's not very current. |
Test PDL against Julia's loop fusion
Comparison with Programming Language Benchmark v2 will require an implementation of nqueens, sudoku and bedcov. I assume we can already do matmult out of the box. Rolling this out will go some ways towards covering our collective blushes when it comes to Perl being the slowest on the graph.
We have timing code under Basic/examples/Benchmark/ already. I think the new examples could live there, unless there's a reason to build more infrastructure that doesn't belong in the core project. Also, follow up on TODOs in documentation for PDL::MatrixOps
determinant
vdet
and all of PDL::Matrix and try to address the benchmarking comment mentioned in PDL::Indexing.Assign this to me. I've used Hyperfine before, but I'll be in touch for the more esoteric bits of C and XS.
TODO
Write PDL benchmarks for:
and then
Stretch goals
pdl2plb2.The text was updated successfully, but these errors were encountered: