Bad Performance in Pull Request File Tree #39341
Replies: 34 comments 18 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.
-
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.
-
I'm seeing a 2-3 second delay in Safari 18.1.1 on macOS 15.1.1, when clicking a line to add a comment:
And it's the same total delay when clicking cancel on the comment box. This is on a PR with 19 files changed, 465 lines added, 272 lines removed, so not very big at all. I've tried quitting and reopening Safari, I've tried restarting, and I've tried refreshing without the cache: it's still super slow 😭 |
Beta Was this translation helpful? Give feedback.
-
Same here, in Safari, Chrome, and Firefox too. 🥲 |
Beta Was this translation helpful? Give feedback.
-
same, all repo |
Beta Was this translation helpful? Give feedback.
-
I am unable to create PRs due to this issue, we have automated actions to modify source code and those apply massive changes (think of a linter). I tried on both Safari and Firefox and both are unable to let me open the PR. The page freezes. I will need to force merge the PR instead. |
Beta Was this translation helpful? Give feedback.
-
Unable to open a pull request at all anymore. Before it took a few tries, but now the entire page just freezes, doesn't matter what browser. |
Beta Was this translation helpful? Give feedback.
-
When reviewing a large PR, GitHub is massively slow and unusable. Azure DevOps surprisingly has a UI/UX that's actually performantly flawless when reviewing a PR of identicial size. |
Beta Was this translation helpful? Give feedback.
-
Above 50 files changed the UI becomes unusable. How about paging the results instead of loading more than the browser can handle? Files changed: 681 |
Beta Was this translation helpful? Give feedback.
-
I've noticed that my NordPass browser extension can also affect the performance of the PR page. |
Beta Was this translation helpful? Give feedback.
-
Safari 18.2 on a Macbook Pro M1 hangs up for me when creating new PRs that contain only a couple hundred files changed. This started about a week ago. |
Beta Was this translation helpful? Give feedback.
-
@joshuambg Based on all discussiuons so far, I suspect this is a Chrome-specific issue. Everyone I asked so far finds that Firefox fixes the problem. If you agree, please rename this issue to: "Bad performance in Pull Request file tab on Chrome" I believe this will help GitHub devs understand why the issue occurs and may help them fix it. It's likely most of the dev team uses Firefox, and so they don't see the issue very often. |
Beta Was this translation helpful? Give feedback.
-
WorkaroundTemporary solution until GitHub fixes this: Use Firefox with add-ons disabled. Many people have reported that Firefox (with add-ons disabled) has far better performance on the PR file tab compared to Chrome, Chromium and Safari. Many say that disabling extensions in Chrome doesn't seem to help (I can confirm this). Re-post from: #33663 |
Beta Was this translation helpful? Give feedback.
-
@joshuambg This gets bad when the Github compare screen defaults to the default repository branch, if you are working in the |
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