# Performance issue (Lookup, Relation & collection-type custom)

**URL:** <https://community.glideapps.com/t/performance-issue-lookup-relation-collection-type-custom/74863>\
**Category:** Ask for Help\
**Created:** [July 12, 2024, 4:41pm UTC](https://community.glideapps.com/t/performance-issue-lookup-relation-collection-type-custom/74863 "2024-07-12T16:41:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![yaniv\_fogel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yaniv_fogel/32/77555_2.png) [@yaniv\_fogel](https://community.glideapps.com/u/yaniv_fogel)\
**Post date:** [July 12, 2024, 4:41pm UTC](https://community.glideapps.com/t/performance-issue-lookup-relation-collection-type-custom/74863/1 "2024-07-12T16:41:15Z")

</div>

Hi everyone,

I’m experiencing a performance issue and could use some advice. My Glide table schema includes X2 relation columns and X1 Split X5 lookup columns. For context, none of my tables have more than 100 rows of data.

The performance degradation occurs on the screen displaying the content for this table. I’m using a collection-type custom layout, and the screen moves slowly. Additionally, when I press any button, it takes around 6-10 seconds to respond.

Any suggestions on how to improve performance / troubleshoot would be greatly appreciated.

Thanks! Yan

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 13, 2024, 12:06am UTC](https://community.glideapps.com/t/performance-issue-lookup-relation-collection-type-custom/74863/2 "2024-07-13T00:06:38Z")

</div>

It doesn’t sound like you have a lot of columns or rows for that matter. Do you have a video of the supposed bug in action? Have you tried deleting your cache/using the app with another browser?

---

<div class="post-metadata">

**Author:** ![yaniv\_fogel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yaniv_fogel/32/77555_2.png) [@yaniv\_fogel](https://community.glideapps.com/u/yaniv_fogel)\
**Post date:** [July 13, 2024, 12:58pm UTC](https://community.glideapps.com/t/performance-issue-lookup-relation-collection-type-custom/74863/3 "2024-07-13T12:58:00Z")

</div>

Thanks, ThinhDinh. I started troubleshooting the problematic screen today. I found that when I removed the photo from the custom collection, everything ran smoothly again. Additionally, when I used a normal list collection with the photo, there were no performance issues. Note that each photo size is small, less than 100KB. So, the bottom line is: I found a workaround. It seems that the custom collection with photos is the problem.

 ![IMG_9045](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/9/893bcb7adb5d7d879c560fdc7fcbc629c2f7ad56.jpeg)  
 ![IMG_9046](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/5/15398440d79b916c9512547ba283de9cf24a2d70.jpeg)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 13, 2024, 1:14pm UTC](https://community.glideapps.com/t/performance-issue-lookup-relation-collection-type-custom/74863/4 "2024-07-13T13:14:37Z")

</div>

Do you use any CSS with that screen? Or the app in overall?

---

<div class="post-metadata">

**Author:** ![yaniv\_fogel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yaniv_fogel/32/77555_2.png) [@yaniv\_fogel](https://community.glideapps.com/u/yaniv_fogel)\
**Post date:** [July 13, 2024, 1:34pm UTC](https://community.glideapps.com/t/performance-issue-lookup-relation-collection-type-custom/74863/5 "2024-07-13T13:34:46Z")

</div>

no CSS

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [July 13, 2024, 1:37pm UTC](https://community.glideapps.com/t/performance-issue-lookup-relation-collection-type-custom/74863/6 "2024-07-13T13:37:08Z")

</div>

So your collection is right-to-left natively? I don’t have any other clues on why it can take a long time to load other than the images to be honest.

---

<div class="post-metadata">

**Author:** ![yaniv\_fogel](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/yaniv_fogel/32/77555_2.png) [@yaniv\_fogel](https://community.glideapps.com/u/yaniv_fogel)\
**Post date:** [July 13, 2024, 1:45pm UTC](https://community.glideapps.com/t/performance-issue-lookup-relation-collection-type-custom/74863/7 "2024-07-13T13:45:10Z")

</div>

thanks again. sorry, I meant to say that I have CSS in the screenshot, but this performance issue happens whether the CSS is applied or not. I have reproduced the problem both with and without the CSS.
