Live data from Hacker News

Electron-based apps cause system-wide lag on macOS 26 Tahoe

github.com

81–90 of 227 posts

Re: Electron-based apps cause system-wide lag on macOS 26 Tahoe

#82

I’m surprised to see so little pushback in press to iOS/macOS 26. I’ve been part of the public beta and it’s been so weird going from “this sucks but it’s a first beta” through “it really isn’t improving much as time goes by” to “we’re a week from launch, there’s no way they release this after the Apple Intelligence fiasco”. And yet here we are. Performance issues, ui inconsistencies and garish design everywhere.

[deleted]

Re: Electron-based apps cause system-wide lag on macOS 26 Tahoe

#83
post #75

Earlier quoted context omitted.

No, it means some people are doing it wrong either because: 1. They don't know how to do it the right way or 2. They can't be bothered to do it the right way #1 I can understand. We all make mistakes as we learn and grow as developers. #2 is just arrogance / laziness on the part of the developer. Compounding it by blaming the platform owner that clearly and explicitly told you not to go that route is gross.

[flagged]

I'll grant that their documentation isn't the best I've ever seen, but it is still on you if you reach for private APIs. Again, that is consciously choosing a shortcut you've been explicitly told not to use.

Re: Electron-based apps cause system-wide lag on macOS 26 Tahoe

#84

Earlier quoted context omitted.

To be fair, the M4 Max is such a beefy machine that you could do a lot of things wrong and still not notice it.

True, but looking at Activity Monitor I don't see any CPU or GPU spike when having an Electron app open and scrolling in Chrome (vs scrolling without any Electron apps open)

Watch your power usage. With large windowed VSCode or Cursor, you will see far higher CPU and GPU usage by WindowServer and more system power consumption. It’s easier if you track it with stats.app.

Re: Electron-based apps cause system-wide lag on macOS 26 Tahoe

#85
Anyone ever experience Zoom meeting lag that reproducibly connects with receiving a Mac notification?

I've had this issue on my M1 and now my M4 mac for about a year now, and I can't figure it out. Uninstalling and reinstalling hasn't helped.

Literally, someone can reliably send me a slack notification in a meeting (even when DND is on) and cause my Zoom outbound video to get gummed up.

Edit: I ask because I wonder if it has to do with this.

Re: Electron-based apps cause system-wide lag on macOS 26 Tahoe

#86
post #2

https://github.com/electron/electron/issues/48311#issuecomme... If this comment is to be believed, it's not Apple's fault. It's the apps mucking around with the internals of AppKit. This example just happens to illustrate two of my least favorite software engineering practices: (1) despite one piece of code making a method private, another piece of code still overrides it/modifies it/calls it, an affront to the idea…

> despite one piece of code making a method private, another piece of code still overrides it/modifies it/calls it, an affront to the idea of encapsulation That's inherent on the way current computers manage the memory. And I don't know if the gains are enough to pay for the loses of guaranteeing encapsulation. One could reach for static analysis, but that would imply some restrictions on the machine's assembly. Thos…

I have written my share of "inspect caller and do things" too. I still don't like that.

Re: Electron-based apps cause system-wide lag on macOS 26 Tahoe

#87

Discord and VSCode work smoothly for me on an M4 MBP -- not sure if it's a compatibility difference or just performance hiding the problem, though. But Spotlight file search is completely broken, rebuilding the index doesn't help, and web results are the only thing it returns. After 20 years of intense research, Apple finally caught up to Microsoft in race to make search broken and useless.

[deleted]

Re: Electron-based apps cause system-wide lag on macOS 26 Tahoe

#88

Discord and VSCode work smoothly for me on an M4 MBP -- not sure if it's a compatibility difference or just performance hiding the problem, though. But Spotlight file search is completely broken, rebuilding the index doesn't help, and web results are the only thing it returns. After 20 years of intense research, Apple finally caught up to Microsoft in race to make search broken and useless.

It's very possible that the hardware performance is hiding the issue. I upgraded from my 2020 intel 13" mbp (16gb of ram, 4-core i5) to 16" M4 Pro for a variety of reasons, but the basic processes of MacOS were making it nearly inoperable periodically throughout the day. I gifted the old one to my gf, and I can hear the fans spin up from across the apartment when nothing else is happening but indexing. I recall regularly being irritated that I'd just have to wait a while for the indexing process to finish before getting anything done. Idk wth is going on, but it puts far more strain on the system than anything else I could throw at it except games and Docker. Even ProTools doesn't seem to produce audible noise unless a bad plugin or a rendering is taking place.

Aside from that, the Settings menu memory leak (or whatever it the problem is) is very much more apparent on the older mac than it is on the new one, but it's still reproducible. Neither computer is running Tahoe yet, these issues were already present, but based on on your comment, they might now be functionally worse in addition to being a performance and user experience joke.

My new Mac is still amazing hardware-wise, and since those issues seem to just be compensated for, perhaps by having efficiency cores that they're able to delegate background processes to, but the sluggishness and in-adequacy of frontline processes and apps must be embarrassing for what I presume to be smarter engineers than myself who probably just don't get to allocate time or energy toward any of the problems, especially with things like Xcode and SwiftUI also having major issues, and the mac being a relatively small market.

Re: Electron-based apps cause system-wide lag on macOS 26 Tahoe

#89
post #3

Don't Electron-based apps cause lag on basically any system?

No, they typically do not interfere with performance at the OS level. They may be wasteful with resources that are limited — CPU/GPU/RAM/IO — but for them to interfere with system function at this level is not the usual bloatware problem.

Re: Electron-based apps cause system-wide lag on macOS 26 Tahoe

#90
post #10

Earlier quoted context omitted.

Search works great for me, I’m sorry it broke on your machine but it needs to be broken for everyone to be on Microsoft’s level

Haha fair enough, and now it's fixed on my machine but Windows Search is still asking if you'd like Bing with that.

It's funny, bing literally means disease in Mandarin.
Post reply on HN