I have two app versions. The old version sends some unnecessary API calls to backend from UI, they have been removed in the latest version. I ran a k6 test script against these two versions and got following results for each old and new versions. This script will execute a scenario where 100 VUs will try to run as many iterations as possible for 15 mins.
> http_req_duration … 3.35s, min=16.07s, med=2.36s, max=16.17s, p(90)=8.07s
> http_reqs … 26825, 28.843876/s
> iterations … 848, 0.911821
> http_req_duration … 3.71s, min=15.82s, med=1.41s, max=17.53s, p(90)=10.01s
> http_reqs … 24104, 25.918153/s
> iterations … 962, 1.034404/s
I can observe that no. of iterations has been increased in the latest versions, That means it has run the script more times in the new version than the old. so that according to my understanding, I conclude that page loading time has been increased in new version. Also, number of http_reqs to backend has been descreased (from 26k to 24k) in new version, therefore backend load burden also has been reduced. Can you help me to clarify whether my conclusions are valid or not?
Also, still I can see the http_req_duration is bit high in new version, then how can the new version execute more number of iterations?