# My App is too slow

**URL:** <https://community.thunkable.com/t/my-app-is-too-slow/501531>\
**Category:** Questions about Thunkable X\
**Created:** [March 6, 2020, 10:23am UTC](https://community.thunkable.com/t/my-app-is-too-slow/501531 "2020-03-06T10:23:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![L3on](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@L3on](https://community.thunkable.com/u/L3on)\
**Post date:** [March 6, 2020, 10:23am UTC](https://community.thunkable.com/t/my-app-is-too-slow/501531/1 "2020-03-06T10:23:14Z")

</div>

Hello,

my app is just incredibly slow. Everything is delayed. And that’s not a good thing for an emergency app.  
I have around 2400+ blocks on the main screen, so not a lot. I would like to do more, but then everything will only get much worse. There are no timers that run continuously. Only when really necessary. I have limited the components to the least, but to no avail.

Are there any tricks? Under the circumstances, I am forced to not publish the app because it is too great a risk.

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [March 6, 2020, 12:18pm UTC](https://community.thunkable.com/t/my-app-is-too-slow/501531/2 "2020-03-06T12:18:00Z")

</div>

> [@L3on](#):
>
> erything is delayed. And that’s not a good thing for an emergency app.  
> I have around 2400+ blocks on the main screen, so not a lot. I would like to do more, but then everything will only get much worse. There are no timers that run continuously. Only when really necessary. I have limited the components to the lea

My main project has 3000k blocks on the main screen alone, 6k total. suprisingly, the screen with only 1200 runs slower due to what is happeneing. Are you repainting the screen after each user screen touch? Are you running an API that requests data or just requesting data from the internet frequently? Could your order of functional operation be changed to optimize speed?

I can say that when i incorporated firebase into my datacollection app as the data source, it slowed things down a lot. I needed to (i think) add a timer so that instead of each button click changing the realtimeDB, each button click fired a timer while changing a local variable. only after the timer finally runs out shoudl i then change the realtimeDB which would then force changes to all thhe local variables related to that key

---

<div class="post-metadata">

**Author:** ![L3on](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@L3on](https://community.thunkable.com/u/L3on)\
**Post date:** [March 6, 2020, 12:53pm UTC](https://community.thunkable.com/t/my-app-is-too-slow/501531/3 "2020-03-06T12:53:54Z")

</div>

> [@jared](#):
>
> Are you repainting the screen after each user screen touch?

What do you mean with this? 😅

> [@jared](#):
>
> Are you running an API that requests data or just requesting data from the internet frequently?

No

> [@jared](#):
>
> Could your order of functional operation be changed to optimize speed?

I don’t think so

Also, i do not use Firebase or any other DB which is online.

> [@jared](#):
>
> My main project has 3000k blocks on the main screen alone

And it works good? No lags?

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [March 6, 2020, 1:08pm UTC](https://community.thunkable.com/t/my-app-is-too-slow/501531/4 "2020-03-06T13:08:23Z")

</div>

> [@jared](#):
>
> > [@jared](#):
> >
> > Are you repainting the screen after each user screen touch?
> 
> What do you mean with this? 😅

I mean, are there buttons that change color, do you change the size of components, frequent UI changes beyond labels.

> [@jared](#):
>
> > [@jared](#):
> >
> > My main project has 3000k blocks on the main screen alone
> 
> And it works good? No lags?

Only a bit I think. Check it out. “The behavior report card” available on both app stores for free

---

<div class="post-metadata">

**Author:** ![L3on](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@L3on](https://community.thunkable.com/u/L3on)\
**Post date:** [March 6, 2020, 1:10pm UTC](https://community.thunkable.com/t/my-app-is-too-slow/501531/5 "2020-03-06T13:10:07Z")

</div>

> [@jared](#):
>
> I mean, are there buttons that change color, do you change the size of components, frequent UI changes beyond labels.

Nope… Nothing

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [March 6, 2020, 1:33pm UTC](https://community.thunkable.com/t/my-app-is-too-slow/501531/6 "2020-03-06T13:33:46Z")

</div>

If you wanna share a link, maybe someone could check it out and try to give you some helpful feedback?

I would always suggest reducing blocks via functions whenever possible and using function type variables instead of app type variables, whenever possible.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:40am UTC](https://community.thunkable.com/t/my-app-is-too-slow/501531/7 "2024-11-08T11:40:33Z")

</div>


