Chrome Version: 57.0.2987.37
OS: macOS 10.12
What steps will reproduce the problem?
(1) Install the Keep extension
(2) Turn on flash screen updates in Quartz Debug
What is the expected result?
No activity in the browser window, which should mean no activity in the toolbar
What happens instead?
The Keep icon is getting redrawn about once every 3 seconds. OS X ends up invalidating a larger area of the window, so the total area redrawn is not insignificant. There is no change in the appearance of the Keep icon so all of this work is for naught.
There's a call to extensions::ChromeExtensionWebContentsObserver::OnMessageReceived that kicks off the redraw (see the attached trace). rdevlin.cronin@ - can you explain what's happening here in this backtrace? I guess the extension is updating itself on every message (not sure what that is) received by the web contents. If you can step me through what the extension is doing that would be very helpful. Ultimately this is a Keep problem, but there may be optimizations we can make in Chrome that can help. Ultimately I want to file a bug against Keep but I need to know what they are doing wrong.
|
Deleted:
KeepExtensionBurningCPU.txt
480 KB
|
Comment 1 by rdevlin....@chromium.org
, Feb 24 2017