Bad Performance in Pull Request File Tree #39341
Replies: 22 comments 6 replies
-
Any updates on this? Even with only a couple hundred changed files Github code review can be extremely slow, to the point of it being almost unusable. The file tree search feature is also unusable. It takes ~10 seconds just for the cursor to appear once clicked, and typing/searching is even worse. |
Beta Was this translation helpful? Give feedback.
-
If you have more than 3k changes the UI just informs you it won't show you the remainder. C'mon Github, can't we do better than that? |
Beta Was this translation helpful? Give feedback.
-
Still nothing on this one? How is Chrome being left out here? |
Beta Was this translation helpful? Give feedback.
-
I used to switch from Safari to Chrome for a small performance boost on huge PR's. Today Chrome is also choking. I am literally unable to review large PR's :( |
Beta Was this translation helpful? Give feedback.
-
I am also having this problem. We had a refactor that could only be done in a single PR w/o breaking the code in the repo. We had ~2,200 files changed in the PR. Why isn't there some sort of paging that exists? |
Beta Was this translation helpful? Give feedback.
-
Even a couple hundred files renders the UI extremely slow - filtering a tree with 200 entries shouldn't require locking up the browser for 10-seconds. |
Beta Was this translation helpful? Give feedback.
-
I'm having the same issue over the last week. A PR with just 307 files has taken me days to go through. Just marking a file as viewed takes around 5 seconds. If I have to click to load the diff (on files down past some file count threshold, even though they are small), then that's another 8-10 seconds. I have reviewed much larger PRs in the past that have not had these performance issues. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I have a pretty mild PR compared to some of these examples (1200 files, 1700 changes) and Chrome outright crashes, and firefox seems barely any better if at all. |
Beta Was this translation helpful? Give feedback.
-
Feels like this gets worse with every Github update. Please fix this, this has the potential to make people move to other tools. |
Beta Was this translation helpful? Give feedback.
-
I've been using mostly Vivaldi except when I need to review PRs because it lags there. For viewing PRs I use Chrome but it's lagging now there too. The PR is not that big, 3,700 additions, 1800 removals. I've worked with much larger PRs without lag in the past. |
Beta Was this translation helpful? Give feedback.
-
I'm having the same issue here using Chrome. I tried using Firefox as a temporary solution to this lag situation, and it works only partially. Marking items as 'viewed' is fine, but searching for comments through the 'jump to conversation' feature doesn't work on both crashing the app. Hope someone can solve this issue asap. 🤞 |
Beta Was this translation helpful? Give feedback.
-
Still a huge issue. I've been using Brave and for PRs with >1000 files, despite filtering out to have only ~100 files, there's a huge lag, the Ui is unresponsive, Brave keeps asking me to kill the tab. |
Beta Was this translation helpful? Give feedback.
-
I can also confirm tested today with a PR of 2600+ it was snappy on firebox, but really slow on chrome. on FF the only thing a little slow is when adding a comment to a line of code, but still much better than chrome. |
Beta Was this translation helpful? Give feedback.
-
Just experienced this today with a PR having ~800 files changed. Sadly, it is unbearable to work with. |
Beta Was this translation helpful? Give feedback.
-
Same issue here it's super slow and making everything laggy. If you use firefox to view the changes it works perfectly fine |
Beta Was this translation helpful? Give feedback.
-
The experience in web with PRs with lot of changes >300 it's terrible! The issue is that the all list is being loaded, at least in mobile we do have lazy loading there that does help with performance |
Beta Was this translation helpful? Give feedback.
-
I have a merge request with 392 changed files. To try to improve performance, I’ve added the following patterns to my .gitattributes file to disable diffs:
While the UI no longer displays diffs for these files, it is still slow to load. It would be nice to:
|
Beta Was this translation helpful? Give feedback.
-
I really wish this part of github was open source, atleast then motivated independant devs can analyze the problem and push a fix by themselves. |
Beta Was this translation helpful? Give feedback.
-
Having the same issue in MacOS Chrome 131. For about 500 changed files, it's impossible to open even a Pull Request. Plus, just opening one, I would not expect or need an immediate diff to be visible. Some ideas for an optimized UI:
This really would need a change – The web UI is completely useless for large changes. Given the logical structuring of the project, making smaller Pull Requests is not an option, and large changes are a common requirement. 🙏 |
Beta Was this translation helpful? Give feedback.
-
376-file PR, mutiple second delay in Safari. Firefox is reasonably snappy, but I still get blank spots when scrolling where it takes it a minute to catch up. Also I don't think it's unreasonable to expect all the file names to load immediately and be searchable, regardless of the size. We're not talking about that much data here, are we? Even a big PR is probably in the 10's of megabytes... |
Beta Was this translation helpful? Give feedback.
-
Same issue here. 54 Files changed, +640 -621. Chrome is unbearably slow, but Firefox has no issue. Looking forward to Chrome being usable again. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
This is a topic that has been documented in the community postings. I can't find anyone from GitHub that answers.
#10830
#33663
Large PRs with lots of files crash GitHub PRs. This is a real problem that needs to get on GitHub's planning board. Use the latest version of any browser. The problem is with the GitHub feature.
Expected
Result
Beta Was this translation helpful? Give feedback.
All reactions