Re:“Clean” Code, Horrible Performance
by gary_0 on Tuesday February 28, 2023 @05:05PM
(#34975585)
I just loaded cnn.com while looking at the CPU utilization graph: 50% use of my 8 logical cores at 4.5GHz for the better part of a second. So no, it's not just network latency. Doing multiple parallel network requests, parsing, doing layout and applying styles, running scripts, decoding media... a modern website and browser devours CPU time.
[ Parent
| on HN ]
Re:“Clean” Code, Horrible Performance
by jiggawatts on Tuesday February 28, 2023 @05:33PM
(#34975880)
Jira cloud famously takes 30-60 seconds on even a fairly high-end laptop, which is just staggering. I can install an entire operating system into a virtual machine in that time.
Re:“Clean” Code, Horrible Performance
by PragmaticPulp on Tuesday February 28, 2023 @09:47PM
(#34978156)
> Jira cloud famously takes 30-60 seconds on even a fairly high-end laptop,
I use Jira every day and, no, it does not take 30-60 seconds to load a page.
The hyperbole in this comment section is something else. Either that or people are using 15 year old computers to browse the web.
I see 30-seconds delays in a vanilla project on Jira cloud sometimes. Hardware was expensive in 2019.
AdBlocker on or off?
lite.cnn.com
Re:“Clean” Code, Horrible Performance
by datavirtue on Tuesday February 28, 2023 @05:14PM
(#34975672)
So those who visit Fox and CNN are helping to destroy the planet. Or is it the developers fault? Can't be the developers.
Re:“Clean” Code, Horrible Performance
by replygirl on Tuesday February 28, 2023 @05:43PM
(#34975986)
one of them must be to blame! readers and publishing engineers famously sit atop corporate decision-making hierarchies, and no one else in a mass media enterprise ever did anything wrong, certainly not before the web was a thing
I was about to dispute what you said, but I realised I was running uBlock origin. What machine and browser are you using? I just used Chrome (on MacOS using an M1 Pro CPU) to run a performance profile and loading cnn.com took the following:
- Loading: 29ms with uBlock vs 42ms without
- Scripting: 548ms vs 1850ms (!!)
- Rendering: 42ms vs 105ms
- Painting: 8ms vs 29ms
- System: 216ms vs 295ms
- Idle: 460ms vs 8707ms
Holy shit, advertising and trackers are absolute resource hogs.