Live data from Hacker News

Web Performance Profiling: Google.com

requestmetrics.com

11–20 of 87 posts

Re: Web Performance Profiling: Google.com

#11
post #2

I mean... is it? It feels a _lot_ slower than it used to, especially on slower devices. Possibly that 700kB of random crap is implicated :)

Classic HN. Snarky, condescending and nothing of substance. Reminds me why I visit HN less and less lately.

But don't you see that the person you replied to is an unrecognized holier-than-thou genius? Get it together, man! ;)

Re: Web Performance Profiling: Google.com

#12
When I think of "fast", I always think of a time I was building a product that required subscribing to Twitter's API to receive updates from specific users.

In my testing, I'd set a breakpoint on my server code to see when I'd get the "push" from Twitter's API and would use the Twitter App on my phone to create test tweets. Every single time, I'd create a tweet and my server breakpoint would be hit immediately. Not soon, but immediately. I'd see my breakpoint triggered well before the UI in the app even refreshed after submitting the tweet.

Re: Web Performance Profiling: Google.com

#13
post #7

It feels fast because most other sites are insanely slow. Just build a normal HTML+CSS+JS site with serverside rendering, route the assets through a CDN and voila! your site will be just as "fast" as Google.

Edit: I was too quick to judge your post. The article is indeed just about serving content, not about why their results are fast.

Re: Web Performance Profiling: Google.com

#14
Climb to the top of a mountain in the USA (or live in the countryside of a developing country), where you can only get 1 bar of 3g service.

Then try to load https://cr.yp.to

Ok now try to do a google search for dog food.

Tell me which one executes in less than a second, and which one hangs forever

Re: Web Performance Profiling: Google.com

#15

Earlier quoted context omitted.

I don't think you read the article. Devtools shows 130 requests because it considers inline data URIs to be a request--instead, there are lots of inlined images. so the page looks mostly complete with only the original document request.

I did read the article that's I picked to sentences from there. I did not pick up from the article that chrome counts inline data as requests and I did not know that earlier. I find that even more odd that inline data is counted as requests. edit: stand corrected, thanks for pointing out

I paused at that as well, maybe it makes sense to think of it as a "request for additional execution" where it happens to be to Base64decode the data URI or pull the image from a remote server.

Re: Web Performance Profiling: Google.com

#16
post #13
post #7

It feels fast because most other sites are insanely slow. Just build a normal HTML+CSS+JS site with serverside rendering, route the assets through a CDN and voila! your site will be just as "fast" as Google.

Edit: I was too quick to judge your post. The article is indeed just about serving content, not about why their results are fast.

By doing all the calculation in memory. Disk is too slow

Re: Web Performance Profiling: Google.com

#17

Climb to the top of a mountain in the USA (or live in the countryside of a developing country), where you can only get 1 bar of 3g service. Then try to load https://cr.yp.to Ok now try to do a google search for dog food. Tell me which one executes in less than a second, and which one hangs forever

Are you comparing search with a static page load ?

Just compare the google page load if you want to compare with that ?

Re: Web Performance Profiling: Google.com

#19
Am I the only person here who wasn’t thinking about the frontend, but rather all the things that need to happen in the backend to render the search results?

To me it feels like an oversight when answering the question “how the hell is Google so fast?” and not digging into how Google is able to return the results to your actual search query in a matter of milliseconds. That, to me, is the real miracle.

Re: Web Performance Profiling: Google.com

#20
I have a related question. How is instacart so slow? I am usually pretty unbothered by slow load times, but searching for and selecting groceries is a full 10 times slower than any other experience on the internet. Is this a deliberate push to get me to use the mobile app? Some dark pattern thing?
Post reply on HN