Opportunity: Software Execution Time Determinism
rikki cattermole via Digitalmars-d
digitalmars-d at puremagic.com
Sat Apr 16 00:22:08 PDT 2016
On 16/04/2016 7:09 PM, Observer wrote:
> It seems to me that you're also a slave to many details of the
> compiler back-end, notably exactly what instructions are output.
> That will likely change under different optimization levels, and
> can also change in unexpected ways when nearby code changes and
> instructions get re-ordered by a peephole optimizer that decides
> it now has a chance to kick in and modify surrounding code. Not
> to mention that you're subject to optimizer changes over time in
> successive versions of the compiler. I'm curious: how often do
> you consider it necessary to re-validate all the assumptions that
> were made in a particular code review?
Random thought we could piggy back on -cov/profile and allow real world
usage to show what its execution time is (min/max/mean).
More information about the Digitalmars-d
mailing list