Hi community, just seeking some help with a performance issue that is driving users mad. Have an app that will render a list basically within a couple of seconds on a browser and when running on a mobile device Android it will load in about 20 seconds. Then even worse is an iPhone (brand new iPhone X) on wifi 60+ seconds.
I am pretty sure the loading issue comes with the OnStart calls - I've tried to put the ClearCollect statements into a Concurrent statement .. it might have helped take off a couple of seconds. I'm not pulling from large lists either. The lists are in SharePoint only have 100 items max in them. 2 Delegation warnings are for the Clearcollect on the Displayname attribute .. I've not been able to try to get a way around that.. perhaps if I do that might help.
Refresh(Candidates);Refresh('Function Head');Set(VarAdmin,If(IsEmpty(HeadofDept), false , true ));Concurrent(ClearCollect(HeadofDept,LookUp('Function Head',FunctionHead.DisplayName=Office365Users.MyProfile().DisplayName)),ClearCollect(Candidate,LookUp(Candidates,Candidate.DisplayName=User().FullName)));Set(CandName,If(IsEmpty(Candidate), false , true ))I am working from Australia, and I seem to always be operating on a eu.create.powerapps.com environment, so possibly just latency is causing the issue. Thoughts anyone? Thanks!