Slow performance compared to C++, ideas?

Walter Bright newshound2 at digitalmars.com
Fri Jun 7 00:03:57 PDT 2013


On 6/6/2013 7:40 PM, Jonathan M Davis wrote:
> I've definitely used it before (particularly when originally writing
> std.datetime), but it's not something that I remember to use often enough. I'm
> thorough enough with my unit tests that I tend to assume that I have fully
> coverage (which I probably do in most cases), but it would be much safer to
> actually check. Having at least the percentage spit out as part of the build
> step would certainly be useful though, since then I could see when it
> changes.. I wonder if I should set it up so that my unit test builds do that.

If you look in phobos' win32.mak, you'll see some rules that give a minimum cov 
percentage that each module must pass. It's meant to detect if the coverage is 
backsliding without requiring any ongoing effort.



More information about the Digitalmars-d mailing list