Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Issue 1149153003: New SELECT Popup: Very slow to open a popup with many items. (Closed)

Created:
5 years, 7 months ago by tkent
Modified:
5 years, 7 months ago
Reviewers:
keishi
CC:
blink-reviews
Target Ref:
refs/remotes/origin/master
Project:
blink
Visibility:
Public.

Description

New SELECT Popup: Very slow to open a popup with many items. To open it quickly, this CL does: - Skip color and font styling if the popup will have 100+ items. - Optimize ListPicker._updateChildren It adds elements via DocumentFragment. - Reorder various things to avoid extra layout - Avoid to access IDL attributes BUG=491936 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195900

Patch Set 1 : #

Patch Set 2 : More optimization #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -56 lines) Patch
M Source/web/PopupMenuImpl.h View 1 chunk +4 lines, -4 lines 0 comments Download
M Source/web/PopupMenuImpl.cpp View 6 chunks +41 lines, -32 lines 0 comments Download
M Source/web/resources/listPicker.js View 1 6 chunks +36 lines, -20 lines 1 comment Download

Messages

Total messages: 12 (3 generated)
tkent
Keishi, please review this. This makes http://www.anoukis-m.com/test.php 4x faster. But It still takes two seconds ...
5 years, 7 months ago (2015-05-26 03:06:41 UTC) #3
keishi
LGTM
5 years, 7 months ago (2015-05-26 03:48:01 UTC) #4
tkent
I updated listPicker.js. Please take another look at it.
5 years, 7 months ago (2015-05-26 06:31:20 UTC) #5
tkent
On 2015/05/26 06:31:20, tkent wrote: > I updated listPicker.js. Please take another look at it. ...
5 years, 7 months ago (2015-05-26 06:32:46 UTC) #6
keishi
> Note that removing getScrollbarWidth() didn't have notable performance gain. I'm curious how fast the ...
5 years, 7 months ago (2015-05-26 06:41:26 UTC) #7
tkent
On 2015/05/26 06:41:26, keishi wrote: > > Note that removing getScrollbarWidth() didn't have notable performance ...
5 years, 7 months ago (2015-05-26 07:01:41 UTC) #8
keishi
On 2015/05/26 07:01:41, tkent wrote: > On 2015/05/26 06:41:26, keishi wrote: > > > Note ...
5 years, 7 months ago (2015-05-26 08:25:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1149153003/40001
5 years, 7 months ago (2015-05-26 08:27:46 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-05-26 08:30:59 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=195900

Powered by Google App Engine
This is Rietveld 408576698