(no title)
vismwasm | 2 years ago
Well where do we draw the line here? I'm not even talking about diffs etc.: Just browsing through a repo and looking at single files is noticeable slow. As an end user I don't really care if it's the network request latency or because inefficient DOM rendering, it's not a great UX. For example loading this site here: https://github.com/GoogleCloudPlatform/gsutil/blob/master/te... took 1.26 seconds. And it's like that for any file or folder. Gitlab seems to have a similar initial load time however only once, after that it's faster.
solardev|2 years ago
Yeah, that's a fair point! To the user it doesn't matter.
And to further prove your point, if you access the raw file at https://raw.githubusercontent.com/GoogleCloudPlatform/gsutil..., it only takes 25ms, even uncached. It's half a kB.
Add the Github UI, it's suddenly 1.2 MB... that's 2000x bigger, lol. And even with the UI already loaded, it still takes nearly 500ms to navigate from one file to another. It IS slow, isn't it?
Thanks for clarifying what you meant.