-
Notifications
You must be signed in to change notification settings - Fork 141
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
[WIP] Benchmarking Daru::Vector statistics methods #484
Conversation
PR #483 will fix the travis error |
e5f96e6
to
db81d39
Compare
7a50c54
to
d7f23ac
Compare
value till 20 decimal places
Good thought. However, I think we should move to benchmark-ips for the benchmarking: https://github.com/evanphx/benchmark-ips It provides much more accurate benchmarks and the comparisons will not vary too much between machines. |
Also, can you please use 2 spaces for all indentation in your code? |
Thanks @v0dro for suggestions, I have to refactor it and will use benchmark-ips . |
… NumPy Indentation to 2 spaces
3a4a201
to
0229ed7
Compare
I have compared various ways (using Array of array, array of vector, Hash of array , Hash of vector) of initializing We can see that the fastest way is
|
I think we should continue this idea : https://github.com/SciRuby/sciruby/wiki/Google-Summer-of-Code-2017-Ideas#rewrite-slow-parts-of-daru-in-rubex