Re: Updated compiler-benchmark

2020-07-17 Thread Per Nordlöw via Digitalmars-d-announce
On Thursday, 16 July 2020 at 23:36:58 UTC, IGotD- wrote: On Thursday, 16 July 2020 at 15:56:45 UTC, Per Nordlöw wrote: D's compiler `dmd` is still far ahead of all its competition especially when it comes to default build (standard compilation) performance. I don't think this comparison

Re: Updated compiler-benchmark

2020-07-16 Thread IGotD- via Digitalmars-d-announce
On Thursday, 16 July 2020 at 15:56:45 UTC, Per Nordlöw wrote: D's compiler `dmd` is still far ahead of all its competition especially when it comes to default build (standard compilation) performance. I don't think this comparison is fair as dmd is far behind when it comes to code

Re: Updated compiler-benchmark

2020-07-16 Thread jmh530 via Digitalmars-d-announce
On Thursday, 16 July 2020 at 19:08:59 UTC, Per Nordlöw wrote: On Thursday, 16 July 2020 at 18:27:54 UTC, jmh530 wrote: How are the functions generated? I see something about function-depth, but it might be good to have an example in the readme. This is, of course, a very contrived benchmark

Re: Updated compiler-benchmark

2020-07-16 Thread Per Nordlöw via Digitalmars-d-announce
On Thursday, 16 July 2020 at 18:27:54 UTC, jmh530 wrote: How are the functions generated? I see something about function-depth, but it might be good to have an example in the readme. This is, of course, a very contrived benchmark but I had to pick something to get me started and I'll happily

Re: Updated compiler-benchmark

2020-07-16 Thread Per Nordlöw via Digitalmars-d-announce
On Thursday, 16 July 2020 at 18:27:54 UTC, jmh530 wrote: How are the functions generated? I see something about function-depth, but it might be good to have an example in the readme. Added here https://github.com/nordlow/compiler-benchmark#sample-generated-code

Re: Updated compiler-benchmark

2020-07-16 Thread Per Nordlöw via Digitalmars-d-announce
On Thursday, 16 July 2020 at 18:27:54 UTC, jmh530 wrote: How are the functions generated? I see something about function-depth, but it might be good to have an example in the readme. Ah, I'll add that. Thanks

Re: Updated compiler-benchmark

2020-07-16 Thread jmh530 via Digitalmars-d-announce
On Thursday, 16 July 2020 at 15:56:45 UTC, Per Nordlöw wrote: I've updated https://github.com/nordlow/compiler-benchmark with - source variants with templated function variants for languages having generics - stdout-printing in Markdown (used in README.md) - benchmarks for the languages

Re: Updated compiler-benchmark

2020-07-16 Thread Per Nordlöw via Digitalmars-d-announce
On Thursday, 16 July 2020 at 15:56:45 UTC, Per Nordlöw wrote: The generic C++ and D versions compiles about 1.5 to 2 times slower With DMD, that is.