DIP10005: Dependency-Carrying Declarations is now available for community feedback
Stefan Koch via Digitalmars-d
digitalmars-d at puremagic.com
Sat Dec 24 09:59:15 PST 2016
On Saturday, 24 December 2016 at 17:52:04 UTC, Chris Wright wrote:
>
> The minimum isn't terribly useful because it gets to the point
> of testing the process scheduler and IO more than the compiler.
> If we want numbers that we can trust on the low end, we'll need
> to put timing information into the compiler, maybe control for
> IO by using a ramfs, that sort of thing.
As a good approximation you can use a profile build of dmd.
It will give you a breakdown of how long the individual functions
took.
Due to the way the profiling works, it does homogenize the values
a bit.
Files are not streamed into dmd, it reads them as one Block.
Therefore there is no need for a ramfs.
More information about the Digitalmars-d
mailing list