Verification of measures consistency
update 25 nov 2024
Once you have measured your application, you should verify the consistency of the results (stability, potential errors...).
These verifications are useful at the beginning of a project but will be optional throughout the life of the project.
You can also choose the strategy consisting of not correcting the standard deviation because you want to have measures that represent the instability of your application (due to network, server...).
Step-by-step guide
In the Overall view of your application tab on Greenspector Studio, an indication is given of the level of reliability of the measured version.
In addition :
Check that at least 3 iterations have been run (full journey)
In the Performance section, check that the steps durations are greater than 0.5 sec.
Link between measure instability and backend instability
If backend platform is unstable (This is common on development platforms), several iterations could be done to avoid test error. However, we advice you to improve the stability of your environment to improve the test ability of your application.
Link between measure instability and sufficiency
Your application can be “unstable” in term of resource consumption. It is possible if you have a lot of network request, CPU treatment… In this case, we advice you to increase the number of iterations (>5) and to not deactivate iterations. You need first to increase the sufficiency of your solutions, the instability of the measure is certainly the reality on the user device.
Link between measure instability and (micro)benchmarking
In the case or you want to make some microbenchmarking (Comparison of framework or of some coding best practices for example), you can be on the margin error of the measure. We advice you to increase the number of iterations (>10) .
Campaign coherence
The measure which are on your version need to be coherent. It mean that :
if you have debugged the tests on a version, this version should not be used to analyze the results. You need a specific version.
Avoid launching campaigns too far apart in time