Skip navigation
This is why PR diff speed matters. This isn't a dunk on GitHub specifically, because GitLab…
0:00 / 1:07

This is why PR diff speed matters. This isn't a dunk on GitHub specifically, because GitLab…

Mitchell Hashimoto

@mitchellh240K followers

Visit on X
3,169 likesDownloadOriginal post

369,412 views

This is why PR diff speed matters. This isn't a dunk on GitHub specifically, because GitLab, Forgejo, etc. are all equal or worse. But this is the kind of thing that drives me nuts, because this is a core workflow and its slow enough I literally take my hands off the keyboard. Btw, when my mouse jiggles on the left, its because the page is literally skipping frames and I'm instinctively shaking my mouse to see if it'll respond. And on the keyboard input you can literally here me finish typing before a letter even shows up. For someone like me who is an expert at these tools, my brain navigates the tool dramatically faster than it can keep up, and that is not good. The tool should not get in the way.

39 Comments

Comments from the original post on X (Twitter)

  • Theo - t3.gg's profile picture

    @theo

    Based and real

    152 likes

  • Mark Ivashinko's profile picture

    @MIvashinko

    Bigger issue for me on big diffs... GH stops rendering past a certain size, you have to click into each file to load. Missed a permission drift in a 4k line terraform PR because of it.

    92 likes

  • Mitchell Hashimoto's profile picture

    @mitchellh

    Yeah this video ran into that lol (unplanned)

    49 likes

  • urata ☄️'s profile picture

    @UrataSyndicate

    The internal tools at Meta (Phabricator for code, but also literally every other tool) are ~5x slower than GitHub...on a good day. I literally rip my hair out every single fucking day. I've been driven insane.

    14 likes

  • necropheus 🇦🇷☀️'s profile picture

    @_necropheus

    Might not seem much to some people but these kinds of delays take your mind off the subject. It's distracting, you lose your state of flow, etc. You should spend as little brain energy as possible on interacting with the diff tool

    11 likes

  • Simon Späti 🏔️'s profile picture

    @sspaeti

    Neovim 💙. Once PR is fetched, it's instant. It needs some time to get used to, but if you do it every day, why not?

    8 likes

  • brunopeartree's profile picture

    @brunopeartreee

    I review all my PR on Linear now their early access version of it is already better than GitHub give it a try

    6 likes

  • Paweł J Lisowski's profile picture

    @PawelJLisowski

    What you think of this approach to code reviews? Something I'm working on, almost ready for release just needs some ui polishing, will be free for public repos, would love some feedback

    6 likes

  • Backseats's profile picture

    @backseats_eth

    Build the GitHub replacement you want already pls

    4 likes

  • frontend_guy's profile picture

    @GuyFronten13778

    This is on the 1 million line zig to rust PR right? I feel like you should mention that.

    4 likes

  • Seongbin Lim's profile picture

    @TheSbinnee

    I just can’t stand bitbucket at work. I just do everything local

    4 likes

  • James Tucker's profile picture

    @raggi

    Many many years ago I was pairing with a friend of mine. The machine started getting weird, and I turned to him and said "it's about to bluescreen", and moments later it bluescreened. He asked "how the fuck did you know?" and i realized something...

    4 likes

  • Conrad Kramer's profile picture

    @conradev

    Is Forgejo worse? they put their render time at the bottom of the page, and it’s usually quite fast

    3 likes

  • Mitchell Hashimoto's profile picture

    @mitchellh

    I admit I have not tried a million line diff directly in Forgejo, but I've had much smaller diffs load poorly, e.g. where the sidebar loads slowly for file nav. I don't know the keyboard nav to get to it but there doesn't seem to be a "jump to file" i can find either.

    10 likes

  • Conrad Kramer's profile picture

    @conradev

    That makes sense! I’ll admit I haven’t spent a lot of time in it either, but it feels fast. Running on dedicated infra is usually faster than shared infra, tho I have an instance for myself, running on my tower at home, and even Linux feels snappy:

    5 likes

  • sam's profile picture

    @metruzanca

    What's the tool on the right?

    3 likes

  • Kristof's profile picture

    @CoastalFuturist

    @madhavjha Thank you for this man this is awesome!

    2 likes

  • David Brown's profile picture

    @davidwbrw

    Still waiting for GitHub to implement folders to organize repos. Seems they are spending all their time on CI features and Copilot. No attention to improving UX or UI performance.

    2 likes

  • ~/ hrshit.in 🌪️'s profile picture

    @pantharshit007

    I think the issue here is where you started from, gh was never designed for a million or multiple 1000s line diff, but overtime they added patches on top of it to make it support the growing needs, on the other hand any new tool already knows about these problems so the base is designed differently and more efficiently.

    2 likes

  • Josh Long's profile picture

    @starbuxman

    Didja check out ?

    2 likes