Updated compiler-benchmark
Per Nordlöw
per.nordlow at gmail.com
Thu Jul 16 15:56:45 UTC 2020
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 Zig and V
## Conclusions (from sample run shown below)
D's compiler `dmd` is still far ahead of all its competition
especially when it
comes to default build (standard compilation) performance.
The performance of both GCC and Clang gets significanly worse
with each new
release (currently 8, 9, 10 in the table below).
The generic C++ and D versions compiles about 1.5 to 2 times
slower whereas the
generic Rust version interestingly is processed 2-3 times faster
than the non-generic
version.
More information about the Digitalmars-d-announce
mailing list