problem of program perform evaluation ?

problem of program perform evaluation ?

It is not stable that a program runs on a PC .Sometimes it is slower ,sometimes it is faster .So it is quite difficult to judge my program perform improve or not after a small modification .Even use
Vtune analyzer ,the clockticks is also not stable .

Can anyone give a way to judge my program perform improve or not after a small modification ?

2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

Quoting - ydq@nbicc.com
It is not stable that a program runs on a PC .Sometimes it is slower ,sometimes it is faster .So it is quite difficult to judge my program perform improve or not after a small modification .Even use
Vtune analyzer ,the clockticks is also not stable .

Can anyone give a way to judge my program perform improve or not after a small modification ?

Do you understand why your program is so unstable? Within any degree of uncertainty you can average multiple measurements to measure an average and a variability. If the variability is inherent in the algorithm, you'll need to take multiple measurements before and after changes and see if the average changes and determine if that is significant given the variability.

Does this variability actually shift the location of the hot spots Vtune analyzer identifies from run to run? Or are there any significant hot spots?

Accedere per lasciare un commento.