Skip to content

Conversation

@Eijebong
Copy link
Contributor

@Eijebong Eijebong commented Dec 5, 2025

In ac4ea53 I changed it from 5 to 20 because I think I had issues with the element sizing during dev and I had figured that the overscan might have been the culprit. And because everything was working, I kept it there. Fast forward to me testing the rules page with 10k items... Reducing the overscan from 20 to 5 makes the page go from sluggish to scroll to smooth. Turns out rendering the rule cards is expensive. It's definitely not necessary to have such a large overscan so I see no drawbacks to doing this.

In ac4ea53 I changed it from 5 to 20
because I think I had issues with the element sizing during dev and I
had figured that the overscan might have been the culprit. And because
everything was working, I kept it there. Fast forward to me testing the
rules page with 10k items... Reducing the overscan from 20 to 5 makes
the page go from sluggish to scroll to smooth. Turns out rendering the
rule cards is expensive. It's definitely not necessary to have such a
large overscan so I see no drawbacks to doing this.
@Eijebong Eijebong requested a review from a team as a code owner December 5, 2025 12:24
@Eijebong Eijebong merged commit b98dbf3 into mozilla-releng:main Dec 5, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants