@a6ff0b2b I added a second user and attempted this in both user accounts. All windows hidden except for TextEdit. At 191 windows there was noticeably more delay between pointer movement and window toolbar. At 346 it became just as unusable as the roughly 800 was before. Window Server is taking only 3.09 GB of RAM this time and the CPU usage is lower, but the lag and jumping is very much present. This is on macOS Sonoma.
@a6ff0b2b I dropped it to 302 windows and the lag is there, but the jumpiness is greatly reduced. I moved it up to 325 windows and it's now incredibly jumpy (as is the Safari window). A second user definitely seems to lower the threshold. And attempting to drag windows in this state causes an extreme CPU spike.
@a6ff0b2b I added a second user and attempted this in both user accounts. All windows hidden except for TextEdit. At 191 windows there was noticeably more delay between pointer movement and window toolbar. At 346 it became just as unusable as the roughly 800 was before. Window Server is taking only 3.09 GB of RAM this time and the CPU usage is lower, but the lag and jumping is very much present. This is on macOS Sonoma.
@a6ff0b2b While listening to @c713ed05 tonight I took the challenge. On an M1 Max MacBook Pro I opened 300 blank TextEdit windows before I started noticing some perceptible, but not egregious, lag. At 803 windows Window Server was using 7.56 GB of RAM (TextEdit ≈ 900MB) and was maxing out at least 1 CPU cores at all times. The entire machine was lagging and moving windows was extremely jumpy.
Notes by Jordan Cosentino | export