Live data from Hacker News

LinkedIn uses 2.4 GB RAM across two tabs

news.ycombinator.com

271–280 of 481 posts

Re: LinkedIn uses 2.4 GB RAM across two tabs

#272
As someone pointed out below, the problem is not entirely (or even mostly) LinkedIn. HN, a text-only website, consumes several hundred MB of RAM on his Mac. On Firefox on my Windows computer, each HN tab I have open consumes at least 30 MB of RAM...for pure text...

The bigger problem is that browsers these days are not very resource efficient because the programmers behind them have powerful top-of-the-line computers that hide all the inefficiencies (or at the very least, computers significantly more powerful than what their users use). This is compounded by the web developers of most websites also using similarly powerful computers for their development, which hides all of the inefficiencies in the website code. This leads to the clusterfuck of LinkedIn using up 2.4GB of RAM across two tabs (though on my computer 2 tabs only uses up about 600 MB even after a few minutes of scrolling).

It turns out that focusing on developer productivity to the exclusion of the user experience has huge negative externalities. Who would have known? (Answer: Literally everybody who was a programmer before the developer-first mentality took over tech.)

The solution: make browser and website developers use slower and less powerful computers than their average user/visitor will use. The performance issues would be identified and addressed immediately.

Re: LinkedIn uses 2.4 GB RAM across two tabs

#273

Let's be real, LinkedIn is full of LinkedIn Lunatics but pretty much all mainstream social media is pretty shit. They're just different flavors of shit. LinkedIn: bad. Facebook: bad. Twitter: I literally think it contributed to the collapse of discourse and rise of shallow thought / rejection of expertise. I'm not going to list more because the theme is, you guessed it, they're bad. Google+ had promise in that the ma…

To me LinkedIn always seems like a coporate ad newsfeed for adults who subscribe voluntarily to get the stuff? :-)

nah, their feed became algo driven just like FB... im constantly seeing things that I have no relation to

Re: LinkedIn uses 2.4 GB RAM across two tabs

#274
post #159

Earlier quoted context omitted.

Nobody gets promoted for improving web app performance.

yep. I think this is the root problem, not the frameworks themselves

If it's slow people also stick around for longer if they have something they must accomplish before leaving.

Re: LinkedIn uses 2.4 GB RAM across two tabs

#277
We're back in the IE era (now with chrome and other browsers) where websites are bloated with ton of js, css, websockets, background services hogging memory.

May be its time for browser vendors to show the consumption (right now they show memory usage) by features i.e background service, websockets, etc.,

With option to disable background service workers.

Re: LinkedIn uses 2.4 GB RAM across two tabs

#278
post #43

Earlier quoted context omitted.

I think a big problem is the fact that many web frameworks allow you to write these kind of complex apps that just "work" but performance is often not included in the equation so it looks fine during basic testing but it scales really bad. like for example claude/openAI web UIs, they at first would literally lag so bad because they'd just use simple updating mechanisms which would re-render the entire conversation hi…

it's unironically just react lmao, virtually every popular react app has an insane number of accidental rerenders triggered by virtually everything, causing it to lag a lot

I think linkedin is built with emberjs not react last i checked…

The problem with performance in wep apps is often not the omg too much render. But is actually processing and memory use. Chromium loves to eat as much ram as possible and the state management world of web apps loves immutability. What happens when you create new state anytime something changes and v8 then needs to recompile an optimized structure for that state coupled with thrashing the gc? You already know.

I hate the immutable trend in wep apps. I get it but the performance is dogshite. Most web apps i have worked on spend about 10% of their cpu time…garbage collecting and the rest doing complicated deep state comparisons every time you hover on a button.

Rant over.

Re: LinkedIn uses 2.4 GB RAM across two tabs

#280
post #52

I don't understand who uses that network anymore. Everytime I login it's all ai generated stories next to ai generated flavor images of people sounding like a parody of themselves ("what taking my kids to school taught me about business scaling"). Out of all places to doomscroll, why choose the one that feels like an episode of Severance?

I always saw LinkedIn, as nothing more than the best dating site in the world. My results so far have been stellar.

Wait, are you dating on LinkedIn?
Post reply on HN