On Mon, 2013-03-11 at 00:36 +0100, David Nadlinger wrote: > Hi all, > > I am currently finalizing my material for the LDC DConf talk, and > I thought it would be nice to include a quick runtime performance > comparison between the different compilers, just to give the > audience a general sense of what to expect. > > Thus, I am looking for benchmarks to use in the talk. > Specifically, they should: > > - be open source, or at least source-available, so other people > can reproduce the results > - be *reasonably* self-contained, so that I don't have to spend > three hours setting up build dependencies > - be written mostly in D, I don't want to benchmark GCC > - work with DMD 2.061 or DMD 2.062 > - run on Linux or OS X
I have a variety of D implementations of "Calculating π by
quadrature" (including the one David Simcha contributed for testing
std.parallelism). This is a trivial, data parallel, embarrassingly
parallel problem that I use for comparing scaling in various languages
in comparison to C. There is no experiment set up, just single run. It
uses SCons for the D build which will require the fork of SCons I have
that includes (almost reasonable) support for D build. On the other hand
all the files are fundamentally self-contained except for reliance on
one module in the same directory so rdmd should work just fine. The code
is released under GPLv3 and is available on GitHub:
[email protected]:russel/Pi_Quadrature.git
and my own website, for cloning:
http://www.russel.org.uk/Git/Pi_Quadrature.git
or for browsing:
http://www.russel.org.uk/gitweb/?p=Pi_Quadrature.git;a=summary
If there are any errors or infelicities of D coding I would be very
pleased to hear of them, especially if the come with a pull request!
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected]
41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected]
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
