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

Issue 60143002: Minimize performance regression caused by r157508 (Closed)

Created:
7 years, 1 month ago by Inactive
Modified:
7 years, 1 month ago
CC:
blink-reviews, arpitab_, esprehn
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Minimize performance regression caused by r157508 Minimize performance regression caused by r157508: - Cache the value returned by Element::attributeItem() as it hides an if branch in ElementData::attributeBase(). - Minimize the cost of calling attrIfExists() which does a linear search by using iterators (thus avoiding the release assertion in Vector::at()) I get a 3.1% improvement locally on Bindings/id-setter.html performance test. R=haraken BUG=293663 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161383 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161419

Patch Set 1 #

Patch Set 2 : Reworked patch #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -7 lines) Patch
M Source/core/dom/Element.cpp View 1 2 chunks +9 lines, -7 lines 1 comment Download

Messages

Total messages: 14 (0 generated)
Inactive
7 years, 1 month ago (2013-11-05 15:43:00 UTC) #1
arv (Not doing code reviews)
LGTM
7 years, 1 month ago (2013-11-05 15:44:29 UTC) #2
haraken
LGTM. Did you get any performance number from Bindings/id_setter.html?
7 years, 1 month ago (2013-11-05 15:45:33 UTC) #3
Inactive
On 2013/11/05 15:45:33, haraken wrote: > LGTM. Did you get any performance number from Bindings/id_setter.html? ...
7 years, 1 month ago (2013-11-05 15:48:44 UTC) #4
haraken
On 2013/11/05 15:48:44, Chris Dumez wrote: > On 2013/11/05 15:45:33, haraken wrote: > > LGTM. ...
7 years, 1 month ago (2013-11-05 15:49:52 UTC) #5
Inactive
On 2013/11/05 15:49:52, haraken wrote: > On 2013/11/05 15:48:44, Chris Dumez wrote: > > On ...
7 years, 1 month ago (2013-11-05 16:15:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/60143002/1
7 years, 1 month ago (2013-11-05 16:15:31 UTC) #7
commit-bot: I haz the power
Commit queue rejected this change because the description was changed between the time the change ...
7 years, 1 month ago (2013-11-05 21:10:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/60143002/1
7 years, 1 month ago (2013-11-05 21:38:21 UTC) #9
commit-bot: I haz the power
Change committed as 161383
7 years, 1 month ago (2013-11-05 21:40:18 UTC) #10
Inactive
The patch was reverted because avoiding the attribute name copy was wrong and the reference ...
7 years, 1 month ago (2013-11-06 02:58:07 UTC) #11
eseidel
lgtm https://codereview.chromium.org/60143002/diff/180001/Source/core/dom/Element.cpp File Source/core/dom/Element.cpp (right): https://codereview.chromium.org/60143002/diff/180001/Source/core/dom/Element.cpp#newcode185 Source/core/dom/Element.cpp:185: if ((*it)->qualifiedName() == name) I wonder if this ...
7 years, 1 month ago (2013-11-06 03:12:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/60143002/180001
7 years, 1 month ago (2013-11-06 03:43:47 UTC) #13
commit-bot: I haz the power
7 years, 1 month ago (2013-11-06 05:50:45 UTC) #14
Message was sent while issue was closed.
Change committed as 161419

Powered by Google App Engine
This is Rietveld 408576698