10.10.2: Performance regression with large behind-window blending surface

Originator:zwaldowski
Number:rdar://19026859 Date Originated:19-Nov-2014
Status:Closed Resolved:true
Product:OS X Product Version:10.10.3 (14D87h)
Classification:Performance Reproducible:Sometimes
 
Summary:
When manipulating a surface with a significant amount of behind-window blending, such as the New Tab page in Safari 8, window actions such as dragging, resizing, and minimizing are extremely choppy.

There is some console spam such during a drag: "Surface testing disallowed updates for x sequential attempts…", followed by "Surface test allowed updates after 11 attempts", both attributed to WindowServer. These seem to come from a tick callback in CoreGraphics.

Steps to Reproduce:
1. Install OS X 10.10.3.
2. Open Safari 8.
3. Open a New Tab page
4. Drag the window
5. Observe

Expected Results:
A dragged window with a large behind-window blurring surface has all the speed of a non-transparent window, or the same window with Reduce Transparency activated.

Actual Results:
The drag drops a large number of frames and lags behind the cursor with transparency enabled.

Version:
OS X Yosemite 10.10.1 (14B25)

Notes:
Bug does not effect smaller sources of behind-window blending, such as the Notification Center and source lists, even a significantly sized one like the No Message Selected pane in Mail.

Configuration:
Tested on MacBook Pro (Retina, 15-inch, Early 2013). Effect is mitigated - though still occurs - when discrete graphics are activated. Bug does not occur with Reduce Transparency enabled.
zw.spx - configuration file has been successfully uploaded.

Attachments:
'WindowServer perf bug.zip' and 'zw.spx' were successfully uploaded.

Comments

Resolved in 10.11 developer beta 1 (15A178w).

This issue has been verified as resolved and can be closed.

By zwaldowski at June 23, 2015, 8:50 p.m. (reply...)

This issue persists in 10.10.3 developer seed 5 (14D130a).

By zwaldowski at April 7, 2015, 4:12 p.m. (reply...)

This issue persists in 10.10.3 beta 2 (14D87h).

By zwaldowski at Feb. 23, 2015, 11:55 p.m. (reply...)

This issue continues to occur in 10.10.2 and 10.10.3 beta 1.

By zwaldowski at Feb. 10, 2015, 2:26 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!