Are these bencmarks recent and real?
russhy
russhy at gmail.com
Wed Sep 1 23:56:59 UTC 2021
On Wednesday, 1 September 2021 at 23:37:41 UTC, russhy wrote:
> On Wednesday, 1 September 2021 at 23:23:16 UTC, user1234 wrote:
>> On Wednesday, 1 September 2021 at 22:49:59 UTC, russhy wrote:
>>> On Monday, 30 August 2021 at 13:12:09 UTC, rempas wrote:
>>>> Just trying to compile a sample basic gtk-d project
>>>> (including the libraries themselves) using ldc2 and
>>>> optimization "-Os" and seeing how much time this takes, I
>>>> want to ask if the benchmarks found
>>>> [here](https://github.com/nordlow/compiler-benchmark) about
>>>> ldc2 are real. Again seeing the gtk-d project taking so much
>>>> time, It's hard to believe that ldc2 compiles faster that
>>>> tcc and go. However, this test probably doesn't use
>>>> optimizations but still.... Ayn thoughts?
>>>
>>> LDC is based on LLVM, just like rust/zig, so it's gonna be
>>> slow
>>>
>>> DMD is the reference compiler, it is what you should use to
>>> get fast iteration time, in fast my game with 20+k lines of
>>> code compiles in just 0.7 seconds
>>>
>>
>> same with the `--force` dub argument ?
>
> it is, i used ``-f``
On windows the same project takes 1.8 sec to fully rebuild,
windows likes to make things slow.. i wonder if that's because of
the linker, i don't know how to check that
More information about the Digitalmars-d
mailing list