cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DancingCatx64
Helper II
Helper II

Performance impact of having many variables

Hello,

 

I am in the process of building a pretty large app (now that I manage to skill myself up to the point where I could build an intranet to run on mobile devices).

 

I don't have all details worked out however I believe that I will end up with at least 30 screens (using galleries, forms, pdf viewer and possible video player).

 

Being well aware of repeated stuff everywhere, I set out to use variables to hold all the font, colours and so forth.

 

So my question is, is setting many variables in App.OnStart going to slow things down or is there no performance difference? Would it be worth using Concurrent in this case?

 

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @DancingCatx64 ,

I have large apps with all colours, fonts etc initiated in Variables at App OnStart. If anything, the screens seem to resolve quicker. Concurrent is always worthwhile unless you have interdependencies in the same set.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @DancingCatx64 ,

I have large apps with all colours, fonts etc initiated in Variables at App OnStart. If anything, the screens seem to resolve quicker. Concurrent is always worthwhile unless you have interdependencies in the same set.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

Awesome thank you, I only just started building it with a few screens that would be used as templates and then copied over (duplicate screen function).

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Top Kudoed Authors
Users online (1,121)