Loading video...

Video Failed to Load

Go Home

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...

367,684 views • 5 months ago •via X (Twitter)

39 Comments

Theo - t3.gg's profile picture
Theo - t3.gg5 months ago

Based and real

Mark Ivashinko's profile picture
Mark Ivashinko5 months ago

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.

Mitchell Hashimoto's profile picture
Mitchell Hashimoto5 months ago

Yeah this video ran into that lol (unplanned)

urata ☄️'s profile picture
urata ☄️5 months ago

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.

necropheus 🇦🇷☀️'s profile picture
necropheus 🇦🇷☀️5 months ago

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

Simon Späti 🏔️'s profile picture
Simon Späti 🏔️5 months ago

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?

brunopeartree's profile picture
brunopeartree5 months ago

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

Paweł J Lisowski's profile picture
Paweł J Lisowski5 months ago

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

Backseats's profile picture
Backseats5 months ago

Build the GitHub replacement you want already pls

frontend_guy's profile picture
frontend_guy5 months ago

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

Seongbin Lim's profile picture
Seongbin Lim5 months ago

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

James Tucker's profile picture
James Tucker5 months ago

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...

Conrad Kramer's profile picture
Conrad Kramer5 months ago

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

Mitchell Hashimoto's profile picture
Mitchell Hashimoto5 months ago

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.

Conrad Kramer's profile picture
Conrad Kramer5 months ago

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:

sam's profile picture
sam5 months ago

What's the tool on the right?

Kristof's profile picture
Kristof5 months ago

@madhavjha Thank you for this man this is awesome!

David Brown's profile picture
David Brown5 months ago

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.

~/ hrshit.in 🌪️'s profile picture
~/ hrshit.in 🌪️5 months ago

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.

Josh Long's profile picture
Josh Long4 months ago

Didja check out ?

aguy.sh's profile picture
aguy.sh5 months ago

tooling shouldnt lag but shouldnt a PR be broken down into smaller pieces long before it hits 1000 lines or 10 files

Bruno Luiz da Silva's profile picture
Bruno Luiz da Silva5 months ago

My bet is their app takes the assumption that people will write many small PRs with smallish files (<500LoC) I feel since engineers started leveraging code generation it started falling apart (Golang has a lot of it), and big AI PRs simply break this even further

Yuseferi's profile picture
Yuseferi5 months ago

Even though I'm not a fan of Microsoft, please be fair about the scale and the current load of the services!!! It's a vital parameter to compare two things.

Mitchell Hashimoto's profile picture
Mitchell Hashimoto5 months ago

The one on the right is on top of the GitHub API and client side so it has no bearing. They could ship this if they wanted.

Yuseferi's profile picture
Yuseferi5 months ago

I agree, they can make it faster, GitHub crams every line, comment box, and heavy API call into your browser at once, crushing performance. @diffshub is lightning fast because it simplifies the rendering page and uses virtual scrolling—only rendering what's on your screen! ⚡

Imam Hossain's profile picture
Imam Hossain5 months ago

GitLab is experimenting with a faster diff btw Demo:

Erik Thorelli's profile picture
Erik Thorelli5 months ago

super nice!!! 👏 @pierrecomputer

Will Provost's profile picture
Will Provost5 months ago

This is every moment of every day for enterprise software users.

Magne's profile picture
Magne5 months ago

To answer your question «What’s the time difference?» It was 7 sec vs 20 sec, both starting from the search bar on the loaded page.

ハセン حسن's profile picture
ハセン حسن5 months ago

offtopic but how did you split the tab into two sides?

Baruch SP's profile picture
Baruch SP5 months ago

WTF is happening? they are using nextjs for a website that has no business using that bloated garbage

Sudipta Dey's profile picture
Sudipta Dey5 months ago

I agree, though I sympathize with the devs trying not to crash the tab. Both GitHub and GitLab have the "expand" problem, click, wait, click, wait, and it still truncates large diffs. For anything serious, pulling locally is the only reliable option.

Eric Jeker's profile picture
Eric Jeker5 months ago

This is the same for any interface really. It drives me nuts when the tool I use every day is sluggish. IDEs are a good example of that. Zed was extremely fast when they released it, but now they are doing some update before loading, so you click on the icon and nothing happens for 5 seconds. Jetbrains is obviously 20 times worse.

Alexander's profile picture
Alexander5 months ago

Try out beta PR support in Linear. All data is still on GitHub, but the UI is much faster. Kind of tells you where GitHub is slow too. Still beta though, some weird bugs when actually using it, but diffs are fast.

LottieFiles's profile picture
LottieFiles5 months ago

Needs to be rebuild from ground up again for the scale.

Neal's profile picture
Neal5 months ago

Have you not noticed that everything is becoming worse? The software is just becoming bloated slow trash incapable of not just working quickly enough but lacking features that were available in older versions? It is a global trend - everything technological is becoming a shit.

Steve Pereira's profile picture
Steve Pereira5 months ago

Drives me a little nuts every time I see a screen where search is possible and the cursor isn’t dropped in ready for text

DevOps Jeremy's profile picture
DevOps Jeremy5 months ago

GitHub should just acquire diffshub and adopt their tech

Omar Mohamed's profile picture
Omar Mohamed5 months ago

huge missed opportunity to wear a beret and smoke a thin cig for this Pierre adulation

Related Videos

It sucks to see my art sell for peanuts. Because in a way "my worth" is literally tied to these prices. Like my art is sold on the stock market, next to all these rugs all the bullshit and yet it's sold for pennies on the dollar. Why? I could have done things differently. Obviously my timing was off with the release. Though in hindsight I'm grateful it's out there. I know a large group of you supported me, believed in me, and saw the vision. The vision we have been dreaming off since 2021. The kind of vision that makes normies ask "how do I get this". The vision that only makes sense on the chain. But here we are. A FP going down. And beyond it sucking for my ego. I know it sucks really hard for those who believed in me You supported me. Big time. And yet here we are. Its even more frustrating seeing the things that are happening and going wel. My art being shown at artbasil with NOLCHA and nftmiami with SuperchiefGalleryNFT . An interview with OpenSea Dreams. Big dreams being fulfilled. Some of you found yourself in my art. You will hold forever. Because its you in there. Some of you want to play the collector game. Find how deep it goes. And others , the speculators, sell my art because there's no upside. But who did you sell it to? Ever wondered this? Why can you sell in the first place? There's a group of people, who love it. And they love it so much they'll buy it when they can. Regardless of price. So what's my job? I need to grow this group. And this is where we one up the degens. Because the art is good. The collection is good. Its undeniable. And so its a matter of time. And perseverance. And I happen to have both. Stay breezy. Stay bullish

Dutchtide.eth

43,047 views • 11 months ago