Standard D, Mir D benchmarks against Numpy (BLAS)

Pavel Shkadzko p.shkadzko at gmail.com
Thu Mar 12 14:27:48 UTC 2020


On Thursday, 12 March 2020 at 13:18:41 UTC, rikki cattermole 
wrote:
> You forgot to disable the GC for both bench's.
> Also @fastmath for standard_ops_bench.
>
> FYI: standard_ops_bench does a LOT of memory allocations.

Thank you.
Add GC.disable; inside the main function, right? It didn't really 
change anything for any of the benchmarks, maybe I did it wrong.
Does @fastmath work only on functions with plain loops or 
everything with math ops? It is not clear from LDC docs.




More information about the Digitalmars-d mailing list