New issue
Advanced search Search tips

Issue 820573 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression
Team-Accessibility



Sign in to add a comment

The translation bar causes the renderer process to use 100% CPU when visible

Reported by alex.d...@gmail.com, Mar 9 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36

Steps to reproduce the problem:
1. Visit a website which is in a non-English language
2. The page gets translated to English
3. A popup shows which reads "This page has been translated from German to English"
4. Do not close the popup bar, open another tab and repeat steps.

What is the expected behavior?
Chrome should not consume 100% CPU when the translation toolbar is not closed.

What went wrong?
Chrome consumes 100% CPU when the translation toolbar is not closed, even if the tab is not visible.

Did this work before? Yes 

Chrome version: 64.0.3282.186  Channel: stable
OS Version: OS X 10.13.3
Flash Version: 

Would like to find out the root cause of this one :-)
 
Screen Shot 2018-03-09 at 22.08.41.png
89.4 KB View Download

Comment 1 by meh...@chromium.org, Mar 10 2018

Components: -UI UI>Browser>Language>Translate
Labels: Performance-Power

Comment 2 by meh...@chromium.org, Mar 10 2018

I can not reproduce it. Does it happen on every site, where the Translation Bar appears?
Labels: Needs-Triage-M64 Needs-Bisect

Comment 4 by alex.d...@gmail.com, Mar 11 2018

Yes, for me it happens on every site (e.g. https://wikipedia.de/), until I press the x to close the Translation Bar or until it goes away by itself. When this reproduces, both the renderer process and the browser process consume a lot of CPU. Once the Translation Bar is closed, the CPU usage returns back to normal.

Comment 5 by meh...@chromium.org, Mar 11 2018

alex.dima@: Thanks for your feedback. Can you please grab a sample in the Activity.app of the hanging process and attach it here? Thanks in advance.

Comment 6 by alex.d...@gmail.com, Mar 11 2018

Here it is
Sample of Google Chrome Helper.txt
235 KB View Download

Comment 7 by meh...@chromium.org, Mar 11 2018

Cc: rsesek@chromium.org
Thanks for the attachment.

rsesek@: Maybe you can take a look at the Sample file? Thank you :-)
Cc: vamshi.kommuri@chromium.org
Labels: Triaged-ET Needs-Feedback
Unable to reproduce the issue on reported chrome version 64.0.3282.186 using Mac 10.13.1 with the below mentioned steps.
1. Launched Chrome
2. Navigated to https://wikipedia.de/
3. Clicked on Translate
We didn't observe any 100% CPU usage of the tab opened. Attaching the screen cast of the same.

@Reporter: Could you please have a look at the screen cast and let us know if we have missed anything in the process of reproducing the issue. Any further inputs from your end may help us.

Thanks! 
820573.mp4
8.4 MB View Download

Comment 9 by alex.d...@gmail.com, Mar 12 2018

I also had a bit of a hard time to reproduce after restarting Chrome. It perhaps had something to do with my previous browsing session where I had multiple windows and tabs opened. I tried to recreate that artificially by opening the same static website 30 times. But in my previous browsing session, I probably opened and closed hundreds of tabs over the course of multiple days.

It is not as drastic as before, perhaps it takes ~3 days of browsing for it to fully reproduce, but the 3 renderer processes that show the translation bar are consuming IMHO unexpected high amounts of CPU when not visible.

It is ok with me if you wanna close as cannot reproduce, I can pay more attention to figure out what usage pattern brought me in that state.
Kapture 2018-03-12 at 11.06.32.mp4
2.6 MB View Download
It also doesn't help that after recording the screencast Chrome just updated itself to Version 65.0.3325.146.

I can update this issue if I can reproduce again, please close if you cannot reproduce.

Thanks for your time1
Project Member

Comment 11 by sheriffbot@chromium.org, Mar 12 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: Blink>Accessibility
Looks like a decent chunk of time is spent in ui::AXTreeSerializer.
bug-820573.txt
324 KB View Download
Labels: -Needs-Bisect
Status: WontFix (was: Unconfirmed)
Unable to reproduce the issue on MacBook Air 10.13.3 and MacBook Pro 10.13.3.
As per comment#9 and #10 by reporter, where the issue is not consistently reproducible from his end, Closing this issue.
Removing Needs-Bisect label.

Please feel free to raise a new issue, if the issue is consistently seen.

Thanks!

Sign in to add a comment