[Issue 21560] md5 poor performance out of the box

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 20 22:23:55 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21560

--- Comment #8 from Witold Baryluk <witold.baryluk+d at gmail.com> ---
BTW. When using precompiled dmd and phobos, from dmd 2.095 from dlang.org. It
is really really slow:

dmd -O -inline -release -mcpu=avx2 -boundscheck=off md5.d

009f07e9b8fb09a820dd180441502d46 
/usr/lib/live/mount/overlay/rw/var/lib/docker/devicemapper/devicemapper/data
real    15m14.536s

It uses the precompiled 64-bit phobos and links statically to it. Almost feels
like it is in debug mode, or maybe with bounds checks on. I didn't checked what
it has by default in some time.

--


More information about the Digitalmars-d-bugs mailing list