Running Phobos unit tests in threads: I have data
Atila Neves via Digitalmars-d
digitalmars-d at puremagic.com
Mon May 5 22:55:20 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12708
On Sunday, 4 May 2014 at 16:07:30 UTC, Andrei Alexandrescu wrote:
> On 5/4/14, 1:44 AM, Atila Neves wrote:
>> On Saturday, 3 May 2014 at 22:46:03 UTC, Andrei Alexandrescu
>> wrote:
>>> 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
>>
>> Seems like it. Just to be sure I swapped ld.gold for ld.bfd
>> and the
>> problem was still there.
>>
>> I'm not entirely sure how to file this bug: with just my
>> simple example
>> above?
>
> The simpler the better. -- Andrei
More information about the Digitalmars-d
mailing list