Chrome extension brings page load to a halt on 400-file PR
Created by: byrongrogan
-
Sourcegraph version: 3.60, extension version 19.7.18.1116
-
Platform information: OSX, Chrome 75.0.3770.142
Steps to reproduce:
- Load a very large PR (issue observed on 400-file PR)
- Scroll down to check out the files
Expected behavior:
Files load normally, code intelligence works, etc.
Actual behavior:
Tab slows to a halt after ~60 code views have been loaded. Full page load takes >5 minutes and sometimes crashes.
I have a profile from one case that I'll send along via e-mail (since it contains some PII).
Note: If there are hard limits that make it impossible for this to be a good user experience, it would be better to simply make the extension a no-op on PRs this large. Currently people have to uninstall the chrome extension entirely to be able to work with certain very large PRs.