问HN:GitHub的用户界面变得无法忍受地慢了吗?
我记得以前能够很轻松地从网页界面查看大型的拉取请求(PR)(更改了70-100个文件),但现在每次点击一个按钮,页面都会变得无响应,持续好几秒钟。
就我个人而言(不考虑客户端的问题),我有一条高速互联网连接和一颗最新一代的CPU。
以下是我遇到的非常慢的操作(根据项目数量,从5秒到60秒不等):
- 点击任何仓库的“拉取请求”标签
- 打开评论较多的PR(超过50条评论)
- 从任何PR内部打开“更改的文件”标签
- 在“更改的文件”标签中将文件标记为“已查看”
我找到了一些缓解这个问题的技巧:
- 在新标签页中打开链接通常只需要当前页面导航时间的一半。
- 从Visual Studio Code的网页界面(github.dev)查看PR,按“.”键即可轻松访问。
查看原文
I remember being able to review even large PRs (70-100 files changed) from the web UI fairly easily, but now every time I click a button, the page becomes unresponsive for many seconds.<p>For what it's worth (excluding client-side issues), I have a high-speed internet connection and a last-gen CPU.<p>Things that are very slow (from 5 to 60 seconds depending on the number of items) for me:<p>- Clicking on "Pull requests" tab for any repo<p>- Opening a PR with many comments (50+)<p>- Opening "Files changed" tab from inside any PR<p>- Marking a file as "viewed" from the "Files changed" tab<p>Tips I found to mitigate this:<p>- Opening the link in a new tab often usually only takes half the time than navigating in your current page.<p>- Review PRs from the visual studio code web ui (github.dev), easily accessible by pressing "." while viewing a PR