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

Issue 278683003: Move instead of clone shadow tree children (Closed)

Created:
6 years, 7 months ago by rwlbuis
Modified:
6 years, 6 months ago
Reviewers:
pdr.
CC:
blink-reviews, krit, fs, ed+blinkwatch_opera.com, f(malita), gyuyoung.kim_webkit.org, Stephen Chennney, kouhei+svg_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Move instead of clone shadow tree children Move instead of clone shadow tree children when expanding <symbol> and <use>. That way we avoid deleting perfectly fine shadow tree nodes. I see a 38% speedup of Sierpinski perf test on my linux desktop, others are unchanged. BUG=313438

Patch Set 1 #

Patch Set 2 : do same in use expanding #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -4 lines) Patch
M Source/core/svg/SVGUseElement.cpp View 1 2 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
rwlbuis
PTAL. Not needed for overall bug but this is more efficient.
6 years, 7 months ago (2014-05-09 18:24:17 UTC) #1
pdr.
On 2014/05/09 18:24:17, rwlbuis wrote: > PTAL. Not needed for overall bug but this is ...
6 years, 7 months ago (2014-05-09 21:10:11 UTC) #2
Erik Dahlström (inactive)
On 2014/05/09 21:10:11, pdr wrote: > On 2014/05/09 18:24:17, rwlbuis wrote: > > PTAL. Not ...
6 years, 7 months ago (2014-05-12 08:08:08 UTC) #3
rwlbuis
6 years, 7 months ago (2014-05-20 18:23:13 UTC) #4
On 2014/05/09 21:10:11, pdr wrote:
> On 2014/05/09 18:24:17, rwlbuis wrote:
> > PTAL. Not needed for overall bug but this is more efficient.
> 
> I see how this would be a benefit but I think it adds some tricky logic. I'd
> prefer to wait until we can prove the perf benefit for this one :/

Understood. Now that I look at it again, it does gain a lot on Sierpinski test
on my desktop, 38%. I'd like to see more measurements first though.

Powered by Google App Engine
This is Rietveld 408576698