Page 1 of 1
How to optimize performance with multiple controls in LiveCode
Posted: Wed Oct 01, 2025 9:57 am
by jeffreestar
Hello everyone, I am making an app using LiveCode with quite a lot of controls (buttons, fields…). When the number of controls increases, the app shows signs of slowing down, especially when resizing the window. Does anyone have experience optimizing performance or best practices in this case that can help me?
Re: How to optimize performance with multiple controls in LiveCode
Posted: Wed Oct 01, 2025 10:43 am
by Klaus
Hi Jeff,
welcome to the forum!
Hm, hard to tell from afar without more info.
What platform, what version of LC, how many controls do you have and what kind are these(images or text or...)
Best
Klaus
Re: How to optimize performance with multiple controls in LiveCode
Posted: Wed Oct 01, 2025 4:18 pm
by dunbarx
Klaus makes a point, but I was intrigued.
I made a new stack with 4100 controls. Buttons, fields, graphics and sliders. I resized the card and did notice a "jumpiness" in that process. Reducing the number of controls to 2000, still left a similar but smaller effect. Down to 1500 and the effect was not perfectly smooth, but only you and I would notice.
Klaus, you can join this exclusive club if you want.
So how many controls are you thinking of, though I do not think there is a way out of this. Certain system messages are sent during resizing, but I do not know if that matters.
Craig
Re: How to optimize performance with multiple controls in LiveCode
Posted: Wed Oct 01, 2025 4:19 pm
by dunbarx
Resizing aside, what do you mean when you say
the app shows signs of slowing down
Craig
Re: How to optimize performance with multiple controls in LiveCode
Posted: Wed Oct 01, 2025 4:21 pm
by richmond62
Ask Marvin the Paranoid Android.

-
-
I am always suspicious of first-time posters who appear to want to run a Marathon before they have learnt to crawl.
Re: How to optimize performance with multiple controls in LiveCode
Posted: Wed Oct 01, 2025 4:25 pm
by dunbarx
Richmond.
Maybe, but I think not.
I would have bet a dollar that one would notice a difference in "movement" when resizing a card with very many controls, but only a dollar. An AI bot would have to have quite a sense, at least as good as mine, of LC and both its workings and its feel, to compose that post.
Bet a dollar?
Craig
Re: How to optimize performance with multiple controls in LiveCode
Posted: Wed Oct 01, 2025 4:52 pm
by richmond62
Sorry: No dollars round these parts (well, I do have some of that plastic play money in my EFL school): only Bulgarian Leva which, from January 1, 2026 are going to be obsolete as we will have Euros (Cheers, cheers).
But there does seem to be a 'small plethora' of first-time posters just now with relatively complex questions.
Re: How to optimize performance with multiple controls in LiveCode
Posted: Wed Oct 01, 2025 5:51 pm
by FourthWorld
jeffreestar wrote: ↑Wed Oct 01, 2025 9:57 am
Hello everyone, I am making an app using LiveCode with quite a lot of controls (buttons, fields…). When the number of controls increases, the app shows signs of slowing down, especially when resizing the window. Does anyone have experience optimizing performance or best practices in this case that can help me?
How many objects are on your card?