# \[Solved\] Is there some reason why my blocks might start to lag?

**URL:** https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876
**Category:** Questions about Thunkable X
**Tags:** solved
**Created:** [November 10, 2018, 5:39pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876 "2018-11-10T17:39:17Z")
**Posts on this page:** 20
**Page:** 6

<div class="post-metadata">

### Author: ![maxb](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/maxb/32/35200_2.png) [@maxb](https://community.thunkable.com/u/maxb)
#### Post date: [July 28, 2019, 5:02pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/101 "2019-07-28T17:02:37Z")

</div>

I am sorry to write this but I hope that thunkable developers can and are fixing this soon cause it’s becoming really frustrating, having to wait an average of 7 seconds for every single move you make in the project, every.

---

<div class="post-metadata">

### Author: ![Daniel\_Coglitore](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Daniel\_Coglitore](https://community.thunkable.com/u/Daniel_Coglitore)
#### Post date: [July 28, 2019, 5:14pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/102 "2019-07-28T17:14:38Z")

</div>

I don’t know if the slow is because of the platform or it is because of how much blocks you have in the screen ( as is happens on every app inventor platform), if you have too many blocks in one screen like more than 800 blocks try to reduce then using as much as procedure you can or dividing blocks with more screens and also as the recent Any Components you can reduce blocks by using them as well

I have a 3 seconds delay so far and not too many blocks so I think is problem of the platform =(

---

<div class="post-metadata">

### Author: ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)
#### Post date: [July 29, 2019, 5:22am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/103 "2019-07-29T05:22:16Z")

</div>

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/2):
>
> I think is problem of the platform

This is not the problem of Platform; Auto-Compilation of every block is done when you make the slightest change.

Everyone wants this fix.

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/2):
>
> more than 800 blocks

No. It starts at 300 blocks only… 😅

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [July 29, 2019, 9:57am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/104 "2019-07-29T09:57:21Z")

</div>

The slowdown depends on the number of “heavy” blocks, the algorithms on the screen, as well as the project itself. If the screen put a lot of blocks “initialization” and “any”. Therefore, good braking can occur already at 130-150 blocks.

But I managed to set a record. In one of my projects on the screen is only 7 blocks. When switching to this screen, you have to wait 15 seconds to start working with it at all 😉

---

<div class="post-metadata">

### Author: ![48d7b0bab98fa9cfafb8](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/48d7b0bab98fa9cfafb8/32/33852_2.png) [@48d7b0bab98fa9cfafb8](https://community.thunkable.com/u/48d7b0bab98fa9cfafb8)
#### Post date: [July 30, 2019, 3:42am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/105 "2019-07-30T03:42:07Z")

</div>

I have such a problem.  
It is too slow to complete the project.  
I feel emotionally frustrated.

---

<div class="post-metadata">

### Author: ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)
#### Post date: [July 30, 2019, 4:00am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/106 "2019-07-30T04:00:19Z")

</div>

A normal breakdown starts when u add

# “App” Variables.

The user has to wait 5 - 10 seconds for the screen to respond when he/she adds a variable.

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/4):
>
> If the screen put a lot of blocks “initialization” and “any”. Therefore, good braking can occur already at 130-150 blocks. 😅

Yes… @actech is absolutely right.

Thanks! 😉

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [July 30, 2019, 10:36am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/107 "2019-07-30T10:36:14Z")

</div>

Hi @maxb,

thanks for flagging this. Can you provide a little more detail about _when_ this delay occurs.

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/1):
>
> I hope that thunkable developers can and are fixing this soon

You know that we’re always trying to make Thunkable the best it possibly can be! If you want to send on a link to your project then we can take a closer look at what’s going on.

Thanks,

---

<div class="post-metadata">

### Author: ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)
#### Post date: [July 30, 2019, 10:44am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/108 "2019-07-30T10:44:11Z")

</div>

Hello there, @domhnallohanlon!

## I can explain a little… 😄

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/7):
>
> Can you provide a little more detail about _when_ this delay occurs.

The delay starts normally after 300 blocks.  
But, if you add a variable in the middle (before 300 blocks) the delay starts there only. 😐  
A great delay about 10-15 seconds appears just after 3 or 4+ variables.

Plus, I have one more thing to point too.  
When u are in the blocks area, (assume that u have 150+ blocks) & u have just added a block and want to switch to the next tab of Chrome; Returning to the Thunkable Blocks tab, we’ve to wait 5-10 seconds for the blocks screen to appear.  
The blocks screen turns white when u switch the tab on chrome.  
**But,** It does not happens when u open your desired tab on a new chrome window 😄

Hope I explained good 🙂  
Thanks! 😄

---

<div class="post-metadata">

### Author: ![maxb](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/maxb/32/35200_2.png) [@maxb](https://community.thunkable.com/u/maxb)
#### Post date: [July 30, 2019, 1:48pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/109 "2019-07-30T13:48:54Z")

</div>

I think it’s just a general delay that gets worse and worse as the app becomes bigger and bigger.

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/7):
>
> Can you provide a little more detail about _when_ this delay occurs

Pretty much every time you do **anything** ; like renaming, changing a value, changing a name, moving a block and as @kartik_old said if you initialize, or do anything with a variable, like renaming, it gets even slower.

It’s like the system takes time to rewrite the position of the blocks and probably the entire code I presume.

I feel that a good move could be to automatically save and compile only every once in a while or when the live test button is pressed, i also understand that it is indeed useful to have completely automatic autosave, but for now it’s too slow and kills the work flow.

I’d prefer it to be like, I work fluent and then take 20 seconds to compile aand test what I’ve changed, if possible.

And btw, I feel that the live companion app too got slower

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [July 30, 2019, 2:45pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/110 "2019-07-30T14:45:40Z")

</div>

Thanks for the update @maxb, I’m trying to recreate here on my end, but without any real success. Running chrome with 20+ tabs open, screen-recording and have a couple of apps streaming in the background too.

This test app with 30 variables seems pretty responsive to me (and works even better when I’m not screen recording)

https://www.loom.com/embed/6f59d870fb954ea99f66903c8af9198d

What sort of speeds are you getting if you go [fast.com](http://fast.com)?

---

<div class="post-metadata">

### Author: ![BlueWhaleYT](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bluewhaleyt/32/28437_2.png) [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)
#### Post date: [July 30, 2019, 2:58pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/111 "2019-07-30T14:58:10Z")

</div>

> **[Speedtest by Ookla - The Global Broadband Speed Test](https://www.speedtest.net)**
>
> Test your Internet connection bandwidth to locations around the world with this interactive broadband speed test from Ookla

---

<div class="post-metadata">

### Author: ![kartik\_old](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/kartik_old/32/28305_2.png) [@kartik\_old](https://community.thunkable.com/u/kartik_old)
#### Post date: [July 30, 2019, 3:22pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/112 "2019-07-30T15:22:16Z")

</div>

Hello there, @domhnallohanlon, thanks for response. 🙂

Have u tried with 20+ app variables? It works ridiculously slow on my side… 😪  
Plus, with 20+ app variables, I have 300+ blocks…

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/10):
>
> What sort of speeds are you getting if you go [fast.com](http://fast.com)?

I have **4.0** mb/ps…

Thanks!

---

<div class="post-metadata">

### Author: ![maxb](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/maxb/32/35200_2.png) [@maxb](https://community.thunkable.com/u/maxb)
#### Post date: [July 30, 2019, 3:32pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/113 "2019-07-30T15:32:10Z")

</div>

Maybe it’s cause you only have one screen, variables work on every screen and pass the value.

I usually am on a 20mb adsl, but also on faster connections I still have the issue.

---

<div class="post-metadata">

### Author: ![Daniel\_Coglitore](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Daniel\_Coglitore](https://community.thunkable.com/u/Daniel_Coglitore)
#### Post date: [July 30, 2019, 5:15pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/114 "2019-07-30T17:15:05Z")

</div>

Mine is not that slow but still…

https://www.loom.com/embed/a8edc99eb6aa4e3ba0635b8226d3bd72

---

<div class="post-metadata">

### Author: ![Boban\_Stojmenovic](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/boban_stojmenovic/32/8628_2.png) [@Boban\_Stojmenovic](https://community.thunkable.com/u/Boban_Stojmenovic)
#### Post date: [July 30, 2019, 5:15pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/115 "2019-07-30T17:15:59Z")

</div>

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/12):
>
> I have **4.0** mb/ps…

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/13):
>
> I usually am on a 20mb adsl,

Neither 4 Mbps, 20 Mbps nor 100Mbps says much about how fast you communicate with the server, what’s your **latency** guys

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/13):
>
> [Thunkable](https://x.thunkable.com/projectPage/5d1e1f5be70680fc192aa80b)

Works well here, does anyone have a bigger project I can test, with 1000+ blocks

/Boban

---

<div class="post-metadata">

### Author: ![maxb](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/maxb/32/35200_2.png) [@maxb](https://community.thunkable.com/u/maxb)
#### Post date: [July 31, 2019, 12:30am UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/116 "2019-07-31T00:30:31Z")

</div>

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/15):
>
> Neither 4 Mbps, 20 Mbps nor 100Mbps says much about how fast you communicate with the server, what’s your **latency** guys

How should I test it? But I don’t think it’s a connection problem.

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/15):
>
> Works well here, does anyone have a bigger project I can test, with 1000+ blocks

Yes I didn’t test his app, I did it now and I saw that his app’s screens don’t have many blocks so it’s fast enough and also @actech is smart and used some ‘tricks’ to make the block part smoother.

My app has 12 screens and many complicate passages. Maybe I’ll link my project to @domhnallohanlon so he can test it by himself

---

<div class="post-metadata">

### Author: ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)
#### Post date: [July 31, 2019, 4:01pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/117 "2019-07-31T16:01:34Z")

</div>

> [@The blocks editor becomes incredibly slow to respond on complex projects!](https://community.thunkable.com/t/the-blocks-editor-becomes-incredibly-slow-to-respond-on-complex-projects/159590/17):
>
> Maybe I’ll link my project to @Domhnall so he can test it by himself

Please do, happy to test it for you.

---

<div class="post-metadata">

### Author: ![Daniel\_Coglitore](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Daniel\_Coglitore](https://community.thunkable.com/u/Daniel_Coglitore)
#### Post date: [July 31, 2019, 4:48pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/118 "2019-07-31T16:48:19Z")

</div>

https://www.loom.com/embed/508f9b551c7f4b3b98498ae9288fc052

Hope this works for something!

---

<div class="post-metadata">

### Author: ![Daniel\_Coglitore](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@Daniel\_Coglitore](https://community.thunkable.com/u/Daniel_Coglitore)
#### Post date: [July 31, 2019, 5:25pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/119 "2019-07-31T17:25:32Z")

</div>

this one too!

Also when I create a Variable and delete it , the variable still showing in the variables componets as if still extist

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/9/69e5f94b4720891e85ec1417e32fa92ec48907e3.png)

I created a new project and this same errors happens in the project im working on

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [August 1, 2019, 12:10pm UTC](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876/120 "2019-08-01T12:10:00Z")

</div>

I have a suitable screen. Try working with the scrAnyComponent screen (1074 blocks). This screen just killed the whole project (crash when running in Live on any of my devices)

[https://x.thunkable.com/projects/5d33041f8c18906229461dad/project/properties/designer/](https://x.thunkable.com/projects/5d33041f8c18906229461dad/project/properties/designer/)

[Previous page](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876.md?page=5)

[Next page](https://community.thunkable.com/t/solved-is-there-some-reason-why-my-blocks-might-start-to-lag/55876.md?page=7)
