Running Phobos unit tests in threads: I have data

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Sat May 3 15:46:06 PDT 2014


On 5/3/14, 2:42 PM, Atila Neves wrote:
> gdc gave _very_ different results. I had to use different modules
> because at some point tests started failing, but with gdc the threaded
> version runs ~3x faster.
>
> On my own unit-threaded benchmarks, running the UTs for Cerealed over
> and over again was only slightly slower with threads than without. With
> dmd the threaded version was nearly 3x slower.

Sounds like a severe bug in dmd or dependents. -- Andrei




More information about the Digitalmars-d mailing list