News for hackers. Stuff that matters.
Re:Ask HN: Anyone else find the new Gmail interface sluggish? by bassman9000 on Sunday November 04, 2018 @09:25PM (#18379399)
> about 285 requests (19MB) before I can compose.

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.

Re:Ask HN: Anyone else find the new Gmail interface sluggish? by userbinator on Sunday November 04, 2018 @10:10PM (#18379604)
25.3KB, 2 seconds

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/

Re:Ask HN: Anyone else find the new Gmail interface sluggish? by bassman9000 on Sunday November 04, 2018 @10:53PM (#18379751)
Went to test Fastmail after some other poster suggested it. Granted, inbox is empty, but feels way faster that gmail, on par with basic gmail, with more functionality.

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.

Re:Ask HN: Anyone else find the new Gmail interface sluggish? by artwr on Monday November 05, 2018 @01:03AM (#18380203)
Thanks for the informative benchmark. I am (slowly) considering alternatives, are you also considering making the jump?
Re:Ask HN: Anyone else find the new Gmail interface sluggish? by bassman9000 on Monday November 05, 2018 @01:32PM (#18384646)
Strongly, yes. Fastmail has a help/blog post to help you migrate. I'm concerned about the large size of my gmail inbox (13+ year user), though. They mention actual emails import too, but haven't tested yet.
Re:Ask HN: Anyone else find the new Gmail interface sluggish? by jcranmer on Sunday November 04, 2018 @10:57PM (#18379763)
... what the hell is gmail doing to suck up that much memory? It shouldn't take more than 1KB per message to store all potentially-relevant message headers, and even the textual content [i.e., no attachments] is unlikely to consume more than a few KB. That takes 100,000s of messages to reach 400MB, which is roughly on the order of "save every message you have ever received for several years."
Re:Ask HN: Anyone else find the new Gmail interface sluggish? by jjeaff on Monday November 05, 2018 @01:15PM (#18384526)
They have to track your every mouse move, what you type, when you type, where you hover your cursor, how long you took to type an email, who knows what else. Extreme surveillance takes extreme resources.
Re:Ask HN: Anyone else find the new Gmail interface sluggish? by bassman9000 on Monday November 05, 2018 @01:33PM (#18384655)
There's an increased amount of crap being added, like the side menus.

And I have pretty much all behaviors (e.g. menu on hover) disabled.

Re:Ask HN: Anyone else find the new Gmail interface sluggish? by kenhwang on Sunday November 04, 2018 @10:36PM (#18379697)
Jeez, you weren't kidding. ~2.5MB on Chrome and ~5.5MB on FF transferred, which uncompresses to >20MB and takes around 20 seconds to become responsive.
Re:Ask HN: Anyone else find the new Gmail interface sluggish? by wingerlang on Sunday November 04, 2018 @11:08PM (#18379805)
For me it's fast, lots of requests (200+) but only 600kb loaded. UI feels fine / snappy and I can compose within seconds.
Re:Ask HN: Anyone else find the new Gmail interface sluggish? by tty89 on Tuesday November 06, 2018 @10:30PM (#18396914)
30MB in 288 Requests in new Gmail 105KB in 20 requests in html version

https://imgur.com/a/OvBrDAk