Skip to content
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

Benchmarking against other linear algebra libraries #119

Open
maciekmm opened this issue Mar 28, 2020 · 1 comment
Open

Benchmarking against other linear algebra libraries #119

maciekmm opened this issue Mar 28, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@maciekmm
Copy link

Introducing benchmarks against other linear algebra libraries could:

  • aid with the process of picking a specific library for your use case
  • show performance issues and where implementation could be improved

An example of such library could be: https://github.com/sloisel/numeric/ it's dead, but still widely used today.

Thank Your for your awesome project!

@jbrown1618 jbrown1618 added the enhancement New feature or request label Apr 14, 2020
@jbrown1618
Copy link
Owner

Thanks for the feedback! I'm so glad to have people taking an interest!

At one point, I had a script for benchmarking some core operations (add, multiply, solve Ax=b, find eigenvectors) for matrices and vectors of different sizes, but there were no comparisons to similar libraries. Eventually I dropped it because it wasn't especially useful in its current form, but that code could still be a good starting point for adding in benchmarking that is actually useful.

Especially on the performance improvement front, we could also do things like operation counting to verify that there are no extraneous operations - it would just take a new subclass of ScalarOperations.

There are probably lots of opportunities for performance improvement - so far my focus has just been on having fun implementing different decompositions and ML algorithms, but some time in the near future I definitely want to take a stab at making this at least as fast as other comparable js libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants