Live data from Hacker News

How fast is AMP really?

timkadlec.com

21–30 of 167 posts

Re: How fast is AMP really?

#21
i tried to turn these tables into graphs because charts of numbers weren't doing much for me. but i suck at spreadsheets, so i don't know how to label these: https://docs.google.com/spreadsheets/d/1ZFWiqXesq8SlOZ3uW9Om...

(the bars are raw/cached/canonical, and the groups on the X axis are min/max/median/90th)

Re: How fast is AMP really?

#22
post #12
post #2

A suggestion for the author: Please avoid commas (or dots) as thousands separators. My brain parses "4,604ms" as "about four milliseconds", which would be amazing, but is very much not what you mean. ISO recommends half-width spaces as thousands separators to avoid this kind of confusion. Also, I think thousands separators can just be skipped if your numbers are only four or five digits wide.

IMO we should introduce locale-dependent number formatting to HTML.

You can probably hack one together by styling a

Re: How fast is AMP really?

#23
post #12
post #2

A suggestion for the author: Please avoid commas (or dots) as thousands separators. My brain parses "4,604ms" as "about four milliseconds", which would be amazing, but is very much not what you mean. ISO recommends half-width spaces as thousands separators to avoid this kind of confusion. Also, I think thousands separators can just be skipped if your numbers are only four or five digits wide.

IMO we should introduce locale-dependent number formatting to HTML.

Excel has it and it's a complete nightmare. Never know in advance what's the locale of the document and the excel.

Re: How fast is AMP really?

#24

A very low quality article. The whole point of AMP is to define a restricted subset of HTML that is safe to prerender and still provide working analytics to the publisher. When you prerender, the advantage of AMP is substantial as it is impossible to beat a user experience of instant, which is why users prefer it and why publishers go through the trouble of implementing two web versions of their web pages (in additio…

Publishers go through the trouble in order to get the boost in Google's rankings. As an iOS user I find AMP to be quite buggy, and AMP versions of pages like reddit are borderline non-functional. I don't prefer it at all.

It's a trouble of writing template once though and it is not that much work. I worked on this at my previous employer and it was alright, little frustrating but once it was done, it was done until you redesign the pages.

Disc: Googler but nowhere close to AMP.

Re: How fast is AMP really?

#26
post #9
post #5

So basically Google could get 90% of what AMP provides without AMP itself, because the magic is in the caching and forcibly reducing the ad junk the page loads. Does that about sum it up?

Yes, except how do you propose to implement caching and stripping out the ad junk without AMP?

with free market!

now, seriously, I do that just fine with an ad blocker.

Re: How fast is AMP really?

#27
Is it really hard to use the whole of my screen? I'm well aware that modern websites have to scale to lots of different screen sizes. My laptop is a 17" job so why the blazes do I only get to see a block of text using the middle third of it? It looks shit. I'd probably have to peek under the lenses of my specs on a smaller screen. I spend far too much time using CTRL + these days.

Re: How fast is AMP really?

#28
post #25
post #16

How fast could google.com be if they trimmed the JS fat?

The non-JS version takes 1/3 loading time of the JS version: http://www.webpagetest.org/result/180402_0J_6a3f29516e9a8bcf... vs http://www.webpagetest.org/result/180402_Z3_1bd3e53e1be2668c...

Thanks. And I have a feeling that it would be much worst (aka better) for a mail.google.com inbox page, even if you keep the useful Javascript. But their javascript is so obfuscated that it is not too easy to test. One time I extracted a simple feature for gmail's javascript... it was fun (probably would be easier for a programmer though)

Re: How fast is AMP really?

#29
post #13
post #10

Answer: not as fast as the D lang forums. https://forum.dlang.org/

Wow, that site indeed feels fast! Is there a writeup about how it’s done?

And the software isn't just rendering the forums. It also simultaneously handles email, Usenet, and IRC relays.

Also, it runs on SQLite. I found that the most surprising of all.

Web development in D is incredibly fun. I love that I can compile HTML templates into machine code (which of courses catches template errors as compiler errors), I love how fast the result is, I love that there is a very lively collection of D packages around web development. In fact, the D package manager, dub, started as a package manager for Vibe.d, the main D web framework.

Re: How fast is AMP really?

#30
post #2

A suggestion for the author: Please avoid commas (or dots) as thousands separators. My brain parses "4,604ms" as "about four milliseconds", which would be amazing, but is very much not what you mean. ISO recommends half-width spaces as thousands separators to avoid this kind of confusion. Also, I think thousands separators can just be skipped if your numbers are only four or five digits wide.

>> Please avoid commas (or dots) as thousands separators.

You might as well say 'please ignore the standards of your country in favour of mine.'

Are you really not aware that this is the standard in Europe?

Post reply on HN