Benchmarking build times

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Thu Aug 28 23:29:21 PDT 2014


Scott Wilson:

> I found https://github.com/acmeism/RosettaCodeData. Is it fresh?

The most recently update is 5 months ago, but most entries are 
one year old. So they are not updated. I update the site 
frequently (perhaps I updated 200-300 entries for 2.066).


> To estimate build times I'll concatenate all files into one.
> About 6K LOC. Then I'll duplicate that file. Sound good?

Some entries are infinite loops, some load external libraries, 
some can't even compile, some entries use lot of memory to 
compile, and so on. You will have to comb every program. And most 
programs contain templates, so if you don't add their main 
function, nothing gets compiled.

Bye,
bearophile


More information about the Digitalmars-d mailing list