Standard D, Mir D benchmarks against Numpy (BLAS)

Patrick Schluter Patrick.Schluter at bbox.fr
Fri Mar 13 08:49:37 UTC 2020


On Thursday, 12 March 2020 at 20:39:59 UTC, p.shkadzko wrote:
> On Thursday, 12 March 2020 at 15:34:58 UTC, 9il wrote:
>> [...]
>
> I am actually intrigued with the timings of huge matrices. Why 
> Mir D and Standard D are so much better than NumPy? Once we get 
> to 500x600, 1000x1000 sizes there is a huge drop in performance 
> for NumPy and not so much for D. You mentioned L3 cache but CPU 
> architecture is equal for all the benchmarks so what's going on?

The interpreter getting in the way of the hardware prefetcher, 
maybe.


More information about the Digitalmars-d mailing list