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

Issue 450273003: Uninline HTMLCollection / LiveNodeList's item() and length() member functions (Closed)

Created:
6 years, 4 months ago by Inactive
Modified:
6 years, 4 months ago
Reviewers:
adamk
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, eae+blinkwatch, rwlbuis, sof
Project:
blink
Visibility:
Public.

Description

Uninline HTMLCollection / LiveNodeList's item() and length() member functions Uninline HTMLCollection / LiveNodeList's item() and length() member functions as these are big. Those call directly methods on CollectionIndexCache and all of them are inlined. This reduces the stripped release binary size by ~24Kb. I measured the impact of this change on BrowserMark 2.1's DOM Search subtest (which tests this code extensively) and it did not seem to regress: - Before: 5785.4 +/- 0.8% - After: 5835.4 +/- 1% R=adamk@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179852

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -4 lines) Patch
M Source/core/dom/LiveNodeList.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/LiveNodeList.cpp View 1 chunk +10 lines, -0 lines 0 comments Download
M Source/core/html/HTMLCollection.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLCollection.cpp View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Inactive
6 years, 4 months ago (2014-08-08 13:52:15 UTC) #1
adamk
lgtm
6 years, 4 months ago (2014-08-08 16:57:22 UTC) #2
Inactive
The CQ bit was checked by ch.dumez@samsung.com
6 years, 4 months ago (2014-08-08 17:34:47 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/450273003/1
6 years, 4 months ago (2014-08-08 17:36:06 UTC) #4
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 18:24:06 UTC) #5
Message was sent while issue was closed.
Change committed as 179852

Powered by Google App Engine
This is Rietveld 408576698