by bassman9000 · 8y ago · 0 comments
This is insane. So I went to test it. 358 requests, 6.3MB, 20 seconds till full load.
Compared to the standard, really old view (https://support.google.com/mail/answer/15049?hl=en): 14 requests, 25.3KB, 2 seconds.
Edit: fans were spinning hard, so I opened the task manager: after CPU went down from ~90% tab is using 600-700MB, stable, with the dev console open, 400-500MB closed. 400MB to check my email.
That's what the size of a webmail app should be measured in --- kilobytes, not megabytes.
A megabyte of code is a lot, and I'd guess a lot of developers just don't have the intuition of how much that is; to put it into perspective, this is an entire operating system in 1.44MB: http://menuetos.net/
No cache reload: 28 requests, 114KB, 2.45 seconds.
With cache: 28 requests, 12KB, 2.65 seconds. Funny: UI seems ready after 1 second, but there's an eventsource request that dwarfs the rest in the waterfall, taking the rest of the time.
Edit: playing around with the UI, feels close to native.
Edit 2: downvotes, feel free to engage in discussion. Getting tired of the HN mob.
And I have pretty much all behaviors (e.g. menu on hover) disabled.