Live data from Hacker News

Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

twitter.com

101–110 of 145 posts

Re: Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

#101
post #89

Earlier quoted context omitted.

It's only a fraction of the CPU's power, sure, but it's still consuming power (electricity & processing) without actually doing anything, which is wasteful. And every small inefficiency adds up over the scale of everything.

Perhaps but this thread and discussion might add up to a year's worth of that waste. Just saying every little thing counts can be very misleading, even though inarguable in theory, and result in non-obvious inefficiency.

> Perhaps but this thread and discussion might add up to a year's worth of that waste.

Don’t forget about the number of macOS users. A lazy search says ~100 million in 2017.

Apple talks a lot about their environmental impact, they spent like 10% of their last event talking about it. So I think it’s fair to criticize them being wasteful here.

Re: Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

#102

Control center is one of the worst parts of my macOS usage. It keeps taking seconds to (abruptly) show up and on my multi-monitor system it sometimes shows up between corners or on the opposite site of the monitor I activated it on. I wish it could be disabled and the controls put into the menu bar, but infuriatingly you can't.

Go try and use it with any part of the keyboard, too. It’s jarring how rapid the backslide on accessibility and interface standards macOS has been.

Re: Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

#103

Control center is one of the worst parts of my macOS usage. It keeps taking seconds to (abruptly) show up and on my multi-monitor system it sometimes shows up between corners or on the opposite site of the monitor I activated it on. I wish it could be disabled and the controls put into the menu bar, but infuriatingly you can't.

I've been using a mac for decades, but had no idea what control center was until about 1 minute ago when I read your comment and googled it. What in the world does control center provide that you find so essential?

AirDrop settings?

Re: Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

#104
post #61
post #56

I am currently at war with google docs and notion re: memory usage. gmail takes something like half a gigabyte of memory. I had a notion database where each time it loaded an additional 25 rows, memory use went up 400MB. It only got up to 200-300 rows total before it died. I gave up Sublime because of memory usage, but the alternatives aren't much better. I'm getting ready to trade in my 8gb Mac for 24gb to help with…

To be fair, 8gb hasn't been quite enough for most dev work since containers and VMs became a standard way for local builds and runs.

>> I gave up Sublime because of memory usage, but the alternatives aren't much better. I'm getting ready to trade in my 8gb Mac for 24gb to help with this, and if I could get more without having to pony up for a CPU I don't need, I'd get 32gb, or even 64gb.

> To be fair, 8gb hasn't been quite enough for most dev work since containers and VMs became a standard way for local builds and runs.

It's 2023, and as a typical software developer, I think it's pretty reasonable to require a minimum of 16GB of RAM to just edit text. /s

Re: Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

#105
post #42

Earlier quoted context omitted.

> compressed memory doesn't solve much and it's been available in all other OS for a long time. many reported that compressed memory can negatively impact performances in certain scenarios For example https://github.com/microsoft/Windows-Dev-Performance/issues/...

Don't know how compressed memory works for in Windows, but on macOS its role is equivalent to swapping. No memory is compressed unless pages are evicted due to not being used. If memory compression wasn't present then it'd been swapped to disk.

> No memory is compressed unless pages are evicted due to not being used

It's the same in Windows.

You can't enable memory compression in Windows unless a page file is present (have not used Windows in 10 years, but that's what I gathered from researching the topic)

Re: Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

#106
post #56

I am currently at war with google docs and notion re: memory usage. gmail takes something like half a gigabyte of memory. I had a notion database where each time it loaded an additional 25 rows, memory use went up 400MB. It only got up to 200-300 rows total before it died. I gave up Sublime because of memory usage, but the alternatives aren't much better. I'm getting ready to trade in my 8gb Mac for 24gb to help with…

I thought Sublime was one of the efficient ones

I second this. Sublime text is one of the faster text editors out there. It boots fast enough that I use it as my go-to notes app.

Re: Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

#107
post #94

Earlier quoted context omitted.

You never know, maybe that's their row microservice.

Or the overheads for communication between the row and column services, the latter being spun up dynamically based on the column count.

I can no longer detect satire

Re: Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

#108
post #104
post #61

Earlier quoted context omitted.

To be fair, 8gb hasn't been quite enough for most dev work since containers and VMs became a standard way for local builds and runs.

>> I gave up Sublime because of memory usage, but the alternatives aren't much better. I'm getting ready to trade in my 8gb Mac for 24gb to help with this, and if I could get more without having to pony up for a CPU I don't need, I'd get 32gb, or even 64gb. > To be fair, 8gb hasn't been quite enough for most dev work since containers and VMs became a standard way for local builds and runs. It's 2023, and as a typical…

“You silly kids and your 16GB of RAM! Back in my day, we got by with 32KB!”

The reality is that software is increasingly more complex and even simple tasks require more and more resources as the cruft builds up.

Re: Control Center on macOS is always re-rendering its SwiftUI causing 1% CPU load

#109

Control center is one of the worst parts of my macOS usage. It keeps taking seconds to (abruptly) show up and on my multi-monitor system it sometimes shows up between corners or on the opposite site of the monitor I activated it on. I wish it could be disabled and the controls put into the menu bar, but infuriatingly you can't.

Go try and use it with any part of the keyboard, too. It’s jarring how rapid the backslide on accessibility and interface standards macOS has been.

It's just another reminder that Apple, like all other big tech companies, is full of mediocre software teams working on unreasonable deadlines.
Post reply on HN