New issue
Advanced search Search tips

Issue 714338 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

opening IME tray menu is really slow

Project Member Reported by est...@chromium.org, Apr 22 2017

Issue description

I see a second or two long hiccup when I first open the menu.
 

Comment 1 by est...@chromium.org, Apr 25 2017

Cc: js...@chromium.org azurewei@chromium.org
I traced this down and it's a direct result of RenderText taking a long time to figure out the width of a Japanese character. But this only happens the first time RenderText has to do something with a Japanese charset. For example, if I open a Japanese website first, the menu will open quickly. I would try to defer this slow process, but it's always going to be slow. I can see a similar hiccup when I start typing in the omnibox and one of the suggestions uses Japanese characters, if it's the first time we've had to load Japanese in this session.

I wonder if this is on anyone's radar or if there's anything we can do about it generally. Can we pre-emptively load charsets that are likely to be shown at some point on a non-UI thread?

Comment 2 by est...@chromium.org, Apr 27 2017

Components: OS>Performance UI>Internationalization
Owner: ----
Status: Available (was: Assigned)

Sign in to add a comment