This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Rendering large diffs takes a while #252
Closed
Description
Newly added jquery file (10K lines) takes a couple of seconds and the UI becomes unresponsive. This is especially annoying if you're just using using keyboard nav and you happen to scroll past a file with a large diff, or if you accidentally clicked the wrong diff.
Possible solutions:
- render file diff after a short delay if file is still selected
- only render first batch of visible lines and defer rendering of the rest, like infinite scrolling