New issue
Advanced search Search tips

Issue 665210 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 3
Type: Bug
M-X


Participants' hotlists:
MacViews-Task-Queue


Sign in to add a comment

MacViews - Throbber consumes lots of CPU

Project Member Reported by shrike@chromium.org, Nov 14 2016

Issue description


What steps will reproduce the problem?
(1) Build and run views_examples_with_content_exe
(2) Switch to the throbber example

What is the expected result?
Very little CPU to animate the throbber (ideally GPU-accelerated)

What happens instead?
There are two views_examples_with_content_exe processes for some reason in Activity Monitor. The first consumes 10% CPU, and the second 5% CPU.

Quartz Debug shows the 16x16 throbber running side of a 130x130 rect. Part of the excessive CPU is probably due to the larger-than-needed rect, but I suspect even a properly-sized throbber view will still consume excessive CPU.

 

Comment 1 by tapted@chromium.org, Nov 14 2016

Cc: tapted@chromium.org
Labels: -Pri-2 Pri-3
Owner: ----
Status: Available (was: Untriaged)
The throbber in the example code isn't representative of a throbber in a browser tab. tab.cc will paint to a separate layer, throbber_view.cc does not. See

https://cs.chromium.org/chromium/src/chrome/browser/ui/views/tabs/tab.cc?l=1452

I think the real performance concerns here were addressed in r362878 already.
Labels: MacViews-Cleanup
Labels: M-X
Labels: Group-Performance
Labels: Hotlist-DesktopUIChecked Hotlist-DesktopUIToolingRequired
*** UI Mass Triage ***

Sign in to add a comment