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

Issue 134193005: Move caching out of LiveNodeListBase and into a new CollectionIndexCache class (Closed)

Created:
6 years, 11 months ago by Inactive
Modified:
6 years, 10 months ago
Reviewers:
esprehn, adamk
CC:
blink-reviews, dglazkov+blink, sof, eae+blinkwatch, adamk+blink_chromium.org
Visibility:
Public.

Description

Move caching out of LiveNodeListBase and into a new CollectionIndexCache class. This improves Bindings/node-list-access.html's score by 4-5% on my Linux desktop. This is due to CollectionIndexCache being templated, which gets rid of isLiveNodeListType() branches in hot code paths. Further separation between LiveNodeList / HTMLCollection can be done but I kept this patch minimal to facilitate review. This patch is based on WebKit r158758 by <antti@apple.com>;. R=adamk, esprehn Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166261

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -168 lines) Patch
M Source/core/dom/LiveNodeList.h View 5 chunks +12 lines, -34 lines 0 comments Download
M Source/core/dom/LiveNodeList.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
A Source/core/html/CollectionIndexCache.h View 1 chunk +208 lines, -0 lines 0 comments Download
M Source/core/html/HTMLCollection.h View 1 2 2 chunks +7 lines, -17 lines 0 comments Download
M Source/core/html/HTMLCollection.cpp View 1 10 chunks +11 lines, -111 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
Inactive
Second attempt, this time I kept the change as minimal as possible by not splitting ...
6 years, 11 months ago (2014-01-25 02:40:49 UTC) #1
Inactive
On 2014/01/25 02:40:49, Chris Dumez wrote: > Second attempt, this time I kept the change ...
6 years, 10 months ago (2014-01-29 13:56:37 UTC) #2
adamk
lgtm, but I'd really like esprehn's OK too as 1) I'm not as familiar with ...
6 years, 10 months ago (2014-01-29 16:57:00 UTC) #3
Inactive
On 2014/01/29 16:57:00, adamk wrote: > lgtm, but I'd really like esprehn's OK too as ...
6 years, 10 months ago (2014-01-29 20:13:43 UTC) #4
esprehn
lgtm, I'll admit I don't entirely understand all this stuff does, but it seems reasonable. ...
6 years, 10 months ago (2014-01-30 05:19:59 UTC) #5
Inactive
On 2014/01/30 05:19:59, esprehn wrote: > lgtm, I'll admit I don't entirely understand all this ...
6 years, 10 months ago (2014-01-30 20:18:20 UTC) #6
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 10 months ago (2014-01-31 22:38:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/134193005/1
6 years, 10 months ago (2014-01-31 22:38:55 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-01-31 22:38:57 UTC) #9
commit-bot: I haz the power
Failed to apply patch for Source/core/html/HTMLCollection.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 10 months ago (2014-01-31 22:38:58 UTC) #10
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 22:39:03 UTC) #11
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 22:39:03 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-01-31 22:39:06 UTC) #13
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 10 months ago (2014-01-31 23:41:43 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/134193005/180001
6 years, 10 months ago (2014-01-31 23:42:06 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-01 01:36:15 UTC) #16
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=10402
6 years, 10 months ago (2014-02-01 01:36:15 UTC) #17
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 01:36:21 UTC) #18
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 01:36:22 UTC) #19
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 01:36:25 UTC) #20
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 10 months ago (2014-02-01 01:37:59 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/134193005/180001
6 years, 10 months ago (2014-02-01 01:38:29 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-01 02:58:31 UTC) #23
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=10413
6 years, 10 months ago (2014-02-01 02:58:32 UTC) #24
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 02:58:32 UTC) #25
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 02:58:34 UTC) #26
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 02:58:35 UTC) #27
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 10 months ago (2014-02-01 21:03:00 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/134193005/180001
6 years, 10 months ago (2014-02-01 21:03:12 UTC) #29
commit-bot: I haz the power
Change committed as 166261
6 years, 10 months ago (2014-02-01 21:54:35 UTC) #30
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 21:54:39 UTC) #31
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-01 21:54:39 UTC) #32
commit-bot: I haz the power
6 years, 10 months ago (2014-02-01 21:54:41 UTC) #33
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698