News for hackers. Stuff that matters.
Re:Fast Software, the Best Software by markdog12 on Wednesday July 24, 2019 @04:14PM (#20519173)
Gmail is now crazy slow for me. Used to be nice and snappy, I dread even clicking a button in there now. I even pay for it with GSuite.

> I sigh — actually sigh — whenever I have to open Photoshop

Yep, quad-core laptop with fast SSD and I dread opening it. I remember being an early adopter with an SSD and I just used to open PS to see how fast it opened. They took that feeling away.

Re:Fast Software, the Best Software by asark on Wednesday July 24, 2019 @04:32PM (#20519346)
Use the "basic HTML" version and make it your default view. On mobile it's even worth putting up with its more desktopy appearance to avoid the bloated crap that is modern Gmail.

The site takes so f*$%ing long to load you should have no problem clicking the "Slow? Try the Basic HTML version" link, maybe with 2-3 tries to figure out where it is (it's a small link). Then you should see an option to set it as your default.

Bonus: you can actually leave it open in a tab without eating three figure MB of memory and sometimes slowing down your machine doing god-knows-what in the background. Only downside is no notifications for new mail, but 1) that assumes you consider that a downside, and 2) that's what actual, native email clients are for.

Re:Fast Software, the Best Software by Nition on Wednesday July 24, 2019 @07:07PM (#20521012)
Here's a direct link to go to the basic HTML version: http://mail.google.com/mail/h/
Re:Fast Software, the Best Software by chii on Thursday July 25, 2019 @05:57AM (#20524028)
And the mobile-web version is even better imho : https://mail.google.com/mail/mu/mp/
Re:Fast Software, the Best Software by chipperyman573 on Wednesday July 24, 2019 @05:13PM (#20519778)
Wrt your downside, I haven't tried this myself but I can't imagine it'd be too difficult to write an extension to check for new emails every x minutes - if there's a button to refresh your mailbox you can just put an a call to the button's click event[0] inside a setTimeout, and if there's no button just refresh the page (you will probably need logic to make sure you aren't actively interacting with it). But most likely a quick 30 minute project if you've made an extension before (and only an hour or so if not).

[0]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement...

Re:Fast Software, the Best Software by the_pwner224 on Wednesday July 24, 2019 @09:31PM (#20521851)
Gmail takes a good five seconds to load the basic UI on my i7 laptop (and then some more time to load messages), but for some reason the Basic HTML link in the corner doesn't work. I've logged in a few times this week and clicked the link each time, and the browser confirms the click with the focus rectangle appearing, but it still loads the slow version of Gmail. This is in Firefox as well as Falkon (WebKit-based).

My company uses Outlook/Exchange and it also has a webapp; the website is pretty feature-rich and has a UI very similar to native Outlook, but it is blazing fast. The folks at Google are doing something very wrong to make it this slow.

Re:Fast Software, the Best Software by lph on Wednesday July 24, 2019 @04:53PM (#20519560)
It's not just you. Gmail has become so slow to load for me that I wonder if they've deliberately sabotaged it on Firefox. Amazing how it's 2019 and web apps somehow seem to be less usable than they were ten years ago. I miss fast desktop apps.
Re:Fast Software, the Best Software by FridgeSeal on Wednesday July 24, 2019 @05:16PM (#20519811)
If a chunk of the time, effort and money that went into making web UI so nice and easy to work in could be invested into making true desktop apps equally as nice (no, electron doesn’t count) then I think we’d be in a great place.
Re:Fast Software, the Best Software by simonebrunozzi on Wednesday July 24, 2019 @06:19PM (#20520555)
Don't despair, it's slow as hell on Chrome too.
Re:Fast Software, the Best Software by ChrisCinelli on Wednesday July 24, 2019 @05:17PM (#20519825)
It looks Google Audit agree with you: https://imgur.com/a/mROAbvh

Chrome 75.0.3770.142 with not extension active.

Re:Fast Software, the Best Software by dvfjsdhgfv on Thursday July 25, 2019 @02:29AM (#20523107)
But this is getting so ridiculous I find it hard to believe. Aren't people at Google supposed to be one of the smartest in the world? Don't they see what they did to their flagship product? Are they completely blind?
Re:Fast Software, the Best Software by phtrivier on Thursday July 25, 2019 @04:49AM (#20523733)
Is GMail their flagship product ? I would say "Search" is their flagship product (and I don't know if it's getting slower.)

I've never used to commercial tools that their actual customers (advertisers) use, I wonder if they are more polished in terms of speed.

Re:Fast Software, the Best Software by OJFord on Wednesday July 24, 2019 @05:38PM (#20520062)
I thought 'Fastmail' was a silly name until I logged back into Gmail.

And then waited for it to load.

Re:Fast Software, the Best Software by vbezhenar on Wednesday July 24, 2019 @06:35PM (#20520702)
I just checked and Fastmail loaded for around 3 seconds, while Gmail loaded for less than 2 seconds.
Re:Fast Software, the Best Software by chrismorgan on Wednesday July 24, 2019 @08:57PM (#20521690)
I work on Fastmail’s webmail.

Did you have a warm cache for either? I find that Fastmail’s cold load is generally a fair bit faster than Gmail’s cold load, and Fastmail’s warm load is consistently faster than Gmail’s warm load; but Fastmail’s cold load can be slower than Gmail’s warm load.

I’m looking forward to working on service worker code loading loading and offline support in Fastmail; I expect us to get warm loading to under one second on a typical desktop machine, regardless of location (because it will require no network calls).

Either way, once the code has loaded, Fastmail is consistently snappier than Gmail. And uses far less memory (in Firefox, 10–15MB instead of >150MB). Offline mode will improve snappiness even further even if you don’t opt into actual offline sync, by virtue of persisting its data record cache. But that’s not implemented yet.

Re:Fast Software, the Best Software by vbezhenar on Thursday July 25, 2019 @09:10AM (#20525043)
After few reloads load times are comparable, something around 1-2 seconds for both. Fastmail feels a little bit faster, but the difference is tiny. Gmail eat 205M and Fastmail eats 60M according to Chrome Task Manager, so yeah, difference in RAM consumption is huge. I have 16G RAM, so it does not bother me that much, but I could imagine that it could cause some memory-constrained computers to slow down significantly.
Re:Fast Software, the Best Software by FluffyKitty on Thursday July 25, 2019 @02:01AM (#20522946)
I used the Fastmail site today after a long time to change some setting and noticed the UI had been updated. Really liking the new look, great job to you and your team!

I was interested in what front-end library you guys were using so I did a bit of searching and found a twitter post about OvertureJS. I know this is kind of random, but I'd love to understand how you guys came to the decision to build a framework from scratch instead of relying on Angular/React. What kind of technical limitations did they have that you guys wished to tackle with Overture?

Re:Fast Software, the Best Software by chrismorgan on Thursday July 25, 2019 @08:12AM (#20524689)
This was long before I started; but the simplest answer is that there were no good options meeting our requirements when Overture was developed, which is back starting around 2010. (Overture has been the foundation for our webmail since late 2011 when that interface was released as beta.) Also do note that Overture does a lot more than just “Angular” or “React”, which I am not inclined here to expound; you’d need quite a few more libraries to equal it—a surprising number of which genuinely don’t exist in open source, so you’d still be writing a lot from scratch. Overture is definitely slanted towards being a web app development library (yet without being a heavyweight and strongly-opinionated-in-UI-matters beast like ExtJS).

When you care about performance, there’s still a lot to be said for controlling the full stack.

Re:Fast Software, the Best Software by FluffyKitty on Thursday July 25, 2019 @10:37AM (#20525719)
Thanks for taking the time to respond!
Re:Fast Software, the Best Software by dceddia on Wednesday July 24, 2019 @10:21PM (#20522069)
Thanks for your work on Fastmail. In my experience it definitely lives up to its name. I love how instantaneous everything feels.
Re:Fast Software, the Best Software by edgarvaldes on Wednesday July 24, 2019 @04:31PM (#20519335)
I used to click the button for the html version in the right bottom corner... but now the button doesn't respond because the app is not fully loaded yet, wich is funny.

I now have a bookmark for the non JS version.

Re:Fast Software, the Best Software by ChrisCinelli on Wednesday July 24, 2019 @04:36PM (#20519385)
Too much javascript.

And they are probably optimizing for First meaningful paint (FMP) over Time to interactive (TTI).

Strange for a company that is putting this out: https://developers.google.com/web/fundamentals/performance/u...

Re:Fast Software, the Best Software by emerongi on Wednesday July 24, 2019 @04:53PM (#20519566)
I'm not running anything abnormal, have a 2018 Thinkpad with a decent connection (20Mbps). GMail loads like I'm on Win95, which is the first OS I've ever used.

It's 2019, the app is built by one of the leading tech companies, I have a modern device with good connection (not the absolute best I could get, but still OK). Why does it take like 5 seconds to load GMail? I would expect it to be ~1s, considering it's built by freaking Google. I'd expect some mega-optimizations going into this thing and to be amazed that they managed to squeeze everything out of a simple mail app. I'd like to imagine myself thinking I'd never be able to build THAT thing, yet it's not the case.

And it's not just the loading part - interactions even after first load feel sluggish. If you try the HTML version, it feels more responsive even just navigating the inbox. It could be psychological, but even in that case it would suggest that they need to improve the first load to make me feel like the app is fast in general.

Re:Fast Software, the Best Software by asark on Wednesday July 24, 2019 @05:05PM (#20519679)
I'm on Google Fiber, of all things, and it's slow as hell. I use basic HTML instead, much faster. As you note, even interactions are faster which, you know, was the whole point of AJAX back in the day but I guess by the time you mediate that through a bunch of bloated serialization formats and bullshit abstraction atop the DOM it's not fast anymore. Basic HTML's very snappy.

I (at least internally) swear any time I open Google Maps, either by accident or when I can't avoid using it. Same for Google office suite webapps, which I avoid as much as possible.

Re:Fast Software, the Best Software by type0 on Wednesday July 24, 2019 @05:49PM (#20520192)
I had to observe this during the meeting, someone was giving a presentation:

oh yeah just remember to mention this thing, let me open my mail quick, ... Gmail loading... and the whole room fills with malaise.

Re:Fast Software, the Best Software by aquaticsunset on Wednesday July 24, 2019 @09:00PM (#20521704)
Why aren’t they making it mega lightning fast? Not because they can’t, but because the market is willing to put up with the sluggishness.

I treat it just like how I treat the massive phone screen sizes and lack of stick shift cars in the US auto market. Consumers just don’t care about the same things I do.

Re:Fast Software, the Best Software by chii on Thursday July 25, 2019 @05:58AM (#20524040)
https://mail.google.com/mail/mu/mp/

The mobile web version. Works really well, even on a desktop!

Re:Fast Software, the Best Software by ChrisCinelli on Wednesday July 24, 2019 @04:57PM (#20519607)
But again... beside the first loading every now and then, it is pretty fast for me.

After I disabled some extensions the Lighthouse metrics improved but not dramatically.

Are you using a privacy extension that keep clearing the browser cache? Did you try in a private window? Is it still annoying on the second load?

Re:Fast Software, the Best Software by edgarvaldes on Wednesday July 24, 2019 @06:15PM (#20520509)
>beside the first loading every now and then

I don't keep the tabs opened. I close gmail when done reading or responding email (I check my inbox every 2-3 hours.) I even close the browser very frequently during the day.

Re:Fast Software, the Best Software by vntok on Wednesday July 24, 2019 @07:05PM (#20520990)
You're not the user story that they optimize for. Try leaving the Gmail tab open for a while, you'll quickly get to reap the speed benefits too.
Re:Fast Software, the Best Software by bzbarsky on Wednesday July 24, 2019 @10:53PM (#20522189)
What I found really eye-opening was looking at the about:memory output for gmail in Firefox. There's more memory used for the various chat-related iframes than for the actual gmail bits themselves. And I suspect the chat widget is not the thing people really want out of gmail.
Re:Fast Software, the Best Software by closeparen on Wednesday July 24, 2019 @07:49PM (#20521301)
Professional tools can get away with slow cold starts, since they’re likely to be left open all day. If the individual editing operations were slow, that would be another thing.
Re:Fast Software, the Best Software by winrid on Wednesday July 24, 2019 @11:39PM (#20522352)
There is easily almost a second of lag when navigating the UI (selecting and deleting emails) using the keyboard on a MBP. :(
Re:Fast Software, the Best Software by derg on Wednesday July 24, 2019 @04:32PM (#20519341)
If you don't need any of the fancy stuff, the basic HTML view is snappy and loads incredibly fast for me.
Re:Fast Software, the Best Software by rzzzt on Wednesday July 24, 2019 @05:37PM (#20520048)
Photoshop 3.0 was the sweet spot for me. A reasonable set of functionality coupled with good speed.
Re:Fast Software, the Best Software by thrax on Wednesday July 24, 2019 @11:22PM (#20522289)
Check out photopea.com it's a free web based Photoshop clone.