|
| From: | Philip Nienhuis |
| Subject: | [Octave-bug-tracker] [bug #46830] Multiplication about 4x slower than Matlab |
| Date: | Tue, 6 Sep 2022 17:17:39 -0400 (EDT) |
Follow-up Comment #9, bug #46830 (project octave):
On that same old Intel core i5 box (comment #5) with 8 GB RAM (under
Windows):
Octave-8.0.0 crossbuilt a few days ago:
>> a = rand (1.5e4);
>> tic; a * a; toc
Elapsed time is 43.5511 seconds.
>> tic; a .* a; toc
Elapsed time is 0.8874 seconds.
and Matlab r2020b:
>> a = rand (1.5e4);
>> tic; a * a; toc
Elapsed time is 35.929964 seconds.
>> tic; a .* a; toc
Elapsed time is 2.608581 seconds.
so Octave's speed hasn't changed much.
Why Matlab is now so much slower for element-wise multiplication is beyond me
but maybe not that interesting.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?46830>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |