Skip to content

Conversation

@Miodec
Copy link
Member

@Miodec Miodec commented Nov 18, 2025

input goes brr

@Miodec Miodec marked this pull request as ready for review November 23, 2025 14:52
@Miodec Miodec merged commit ea84adf into master Nov 23, 2025
16 checks passed
@Miodec Miodec deleted the input-rewrite branch November 23, 2025 14:52
@github-actions github-actions bot added the waiting for review Pull requests that require a review before continuing label Nov 23, 2025
Miodec added a commit that referenced this pull request Dec 4, 2025
Together with #7119, input handling is 3x faster. Achieved by:
- deferring all UI updates to when the browser is ready and debouncing
ui calls.
 - using vanilla js where needed
 - caching dom elements
 - disabling expensive checks if the timer is slow
 - switching to a timer that uses RAF instead of setTimeout
 - moving some code around

This should make the site smother on slower devices and fix lag spikes
causing weird test data.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff packages Changes in local packages waiting for review Pull requests that require a review before continuing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants