How to measure iOS App load time

I have an iOS app which took a lot of time to load the homepage and now after optimization the load time reduced. How do I measure the load time that the app took before and after optimization?

hey @manovnk your iso app must have some loader which will showing on ui when data is getting load so just do
long start=System.currentTimeinmillis();
new WebDriverWait().untill(ExpectedConditions.invisibilityof(“your by element obect”));
long timetaken= (System.currentTimeinmillis()-start)/1000;
time taken is time in seconds;

1 Like