[fpc-devel] Good timing metric test program?

Ondrej Pokorny lazarus at kluug.net
Mon Feb 25 19:16:00 CET 2019


On 25.02.2019 18:12, J. Gareth Moreton wrote:
> The compiler isn't a valid case because the input source is different 
> (because of the very changes made to said compiler). It needs to be a 
> project that doesn't share anything with the compiler (except the 
> run-time libraries), so the source code is exactly the same so that 
> when it is built, it runs the same no matter which version of the 
> compiler it was built with.
>
> I'm viewing it as a bit of a scientific experiment, where only a 
> single variable is changed, namely the compiler used. The compiled 
> program should produce exactly the same output and otherwise behave 
> the same way, so that any time metrics reflect only how long it takes 
> to complete and hence is reflective only of the quality of the machine 
> code, not what the program is doing... if that makes any sense.
>
> Gareth aka. Kit


Build Lazarus?

Ondrej

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20190225/e540e735/attachment.html>


More information about the fpc-devel mailing list