Benchmarking mir.ndslice + lubeck against numpy and Julia

p.shkadzko p.shkadzko at gmail.com
Sun Jan 12 09:43:46 UTC 2020


On Sunday, 12 January 2020 at 00:25:44 UTC, JN wrote:
> On Saturday, 11 January 2020 at 21:54:13 UTC, p.shkadzko wrote:
>> Allocation and SVD of [5000 x 10] matrix:
>>
>> +--------+--------------------+------------+
>> |  lang  |        libs        | time (sec) |
>> +--------+--------------------+------------+
>> | Python | numpy+scipy        |        0.5 |
>> | Julia  | LinearAlgebra      |     0.0014 |
>> | D      | mir.ndslice+lubeck |        0.6 |
>> +--------+--------------------+------------+
>
> Meh. I don't like this kind of table. I think it should at 
> least say "Python/C". Imagine a newcomer encountering this 
> table and being like "wow, D is slower even than Python, what a 
> mess!". But numpy/scipy are running C underneath, so D is not 
> that bad in comparison.

Yes, technically we are benchmarking against C numpy and 
C/Fortran scipy through Python syntax layer. It should have been 
"C/Fortran".


More information about the Digitalmars-d mailing list