FWIU there's really no backpressure mechanism for apps delegating compositing (via CoreAnimation / CALayers) to WindowServer which is the real problem IMO.
If Apple would give insight about this, the developers wold get bug reports and complaints
Similar to the electron shit