Hacker News 中文摘要

RSS订阅

GitHub网站在Safari上运行缓慢 -- The GitHub website is slow on Safari

文章摘要

GitHub社区讨论中,用户反映在Safari浏览器上访问GitHub网站时速度极慢,引发了对该问题的关注和讨论。

文章总结

标题:GitHub 网站在 Safari 上运行极慢 · 社区 · 讨论 #170758

主要内容:

在 GitHub 社区的讨论中,用户 ghugues 提出了一个问题:GitHub 网站在 Safari 浏览器上运行速度极慢,甚至到了无法正常使用的程度。具体表现为:

  1. 页面渲染问题:在 Activity Monitor 中,渲染进程占用率高达 100%。页面滚动时,Safari 会显示空白区域,无法正常加载内容。
  2. 交互功能延迟:搜索功能、拉取请求(PR)审查等操作极其缓慢,甚至无法正常使用。例如,勾选“已查看”复选框有时需要几秒钟才能响应。
  3. 硬件配置无关:即使用户使用的是配备 16 核 Apple M4 Max 处理器和 48GB 内存的 16 英寸 MacBook Pro,GitHub 在 Safari 上的表现依然糟糕。相比之下,Google Chrome 在相同设备上的表现要好得多,尽管在处理大型拉取请求时也会有些吃力。

其他用户的反馈:

  • mscuthbert 提到,标签部分的搜索功能也变得极其缓慢,几乎无法使用。
  • LeLunZ 表示,在处理包含大量更改的拉取请求时,GitHub 的 UI 完全崩溃,无法进行任何操作。
  • BrentMifsud 指出,即使是小型拉取请求,添加审阅者、标签等操作也极其缓慢,页面经常卡住。
  • plusplus 认为,GitHub 的性能问题越来越严重,且没有明显的改进。

临时解决方案:

  • felixbarny 建议,在 Safari 中可以通过在“Issues”或“Pull requests”选项卡中选择复选框,然后使用表头的“Labels”下拉菜单来添加标签,这种方式相对更快一些。
  • shiltian 提到,他不得不安装第三方应用,将所有 GitHub 链接自动在 Chrome 中打开,以绕过 Safari 的性能问题。

总结:

GitHub 在 Safari 上的性能问题已经严重影响了用户的日常使用,尤其是在处理大型拉取请求时。尽管用户尝试了多种方法,问题依然存在。许多用户希望 GitHub 能够尽快解决这一问题,提升在 Safari 上的使用体验。

评论总结

评论总结:

  1. GitHub性能问题

    • 许多用户反映GitHub的UI在改用React后变得缓慢,尤其是在处理大型PR时。
      • "I've read comments online that Github has been rewriting their UI in React and that it's got slower since." (评论1)
      • "The Github website is slow everywhere. It is truly a piece of shit software both in terms of performance but also UX/UI and everything in between." (评论7)
  2. 浏览器兼容性问题

    • 特别是在Safari上,GitHub的性能问题尤为明显,但在Firefox上表现较好。
      • "Noticed a similar slowdown when opening the GCP console in Safari. Especially the BigQuery editor. It's completely unusable." (评论9)
      • "Just tested my big PR on FF and it worked like a charm!" (评论16)
  3. React的争议

    • 一些用户认为React的抽象层过多,导致性能下降,尤其是处理大型页面时。
      • "This is what happens when you use React for such large pages. 'JavaScript is fast!' No, it really isn't." (评论8)
      • "Was react a bad idea? Can anyone point to a single well made react app?" (评论24)
  4. 用户体验和设计问题

    • 用户对GitHub的UX/UI设计表示不满,认为其逐渐变得臃肿,且功能复杂化。
      • "It's a product of many cooks and their brilliant ideas and KPIs, a social network for devs and code being the most 'brilliant' of them all." (评论7)
      • "GitHub used to be open to browse, and the search worked, now in their effort to force you to make an account they include a few 'dark patterns'." (评论18)
  5. 测试和质量控制问题

    • 用户质疑GitHub在发布新功能前是否进行了充分的测试,尤其是跨浏览器的性能测试。
      • "Can someone who's worked in an org this large help me understand how this happens? They surely do testing against major browsers and saw the performance issues before releasing." (评论11)
      • "The problem to solve is that this regression went undetected, not that Safari is slow." (评论23)
  6. 其他网站的类似问题

    • 用户提到其他网站(如Stripe)也存在类似的性能问题,尤其是在加载大量数据时。
      • "Another website that is so slow it's unusable is Stripe. My CPU goes to 100% and fans roaring every time I load the dashboard and transactions." (评论15)

总结:

评论中普遍反映GitHub在改用React后性能下降,尤其是在处理大型PR时,且Safari上的表现尤为糟糕。用户对GitHub的UX/UI设计、测试流程以及React的使用提出了质疑,认为其逐渐变得臃肿且功能复杂化。此外,其他网站(如Stripe)也存在类似的性能问题。