WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
103708
Simplify treeScope and setTreeScope
https://bugs.webkit.org/show_bug.cgi?id=103708
Summary
Simplify treeScope and setTreeScope
Elliott Sprehn
Reported
2012-11-29 20:35:58 PST
Make treeScope inline and remove a branch
Attachments
Patch
(8.18 KB, patch)
2012-11-29 22:09 PST
,
Elliott Sprehn
no flags
Details
Formatted Diff
Diff
Patch
(9.78 KB, patch)
2012-11-30 14:54 PST
,
Elliott Sprehn
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Elliott Sprehn
Comment 1
2012-11-29 22:09:11 PST
Created
attachment 176899
[details]
Patch
Elliott Sprehn
Comment 2
2012-11-29 22:19:57 PST
Doh, seems we need to put the inline version in Document.h
Early Warning System Bot
Comment 3
2012-11-29 22:20:34 PST
Comment on
attachment 176899
[details]
Patch
Attachment 176899
[details]
did not pass qt-ews (qt): Output:
http://queues.webkit.org/results/15054297
Early Warning System Bot
Comment 4
2012-11-29 22:23:55 PST
Comment on
attachment 176899
[details]
Patch
Attachment 176899
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/15067013
EFL EWS Bot
Comment 5
2012-11-29 22:32:08 PST
Comment on
attachment 176899
[details]
Patch
Attachment 176899
[details]
did not pass efl-ews (efl): Output:
http://queues.webkit.org/results/15054301
WebKit Review Bot
Comment 6
2012-11-29 22:35:05 PST
Comment on
attachment 176899
[details]
Patch
Attachment 176899
[details]
did not pass chromium-ews (chromium-xvfb): Output:
http://queues.webkit.org/results/15056256
kov's GTK+ EWS bot
Comment 7
2012-11-29 22:39:32 PST
Comment on
attachment 176899
[details]
Patch
Attachment 176899
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/15059187
Hajime Morrita
Comment 8
2012-11-29 23:21:52 PST
Comment on
attachment 176899
[details]
Patch This is nice!
Build Bot
Comment 9
2012-11-29 23:44:01 PST
Comment on
attachment 176899
[details]
Patch
Attachment 176899
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/15055300
Peter Beverloo (cr-android ews)
Comment 10
2012-11-30 10:50:50 PST
Comment on
attachment 176899
[details]
Patch
Attachment 176899
[details]
did not pass cr-android-ews (chromium-android): Output:
http://queues.webkit.org/results/15061399
Elliott Sprehn
Comment 11
2012-11-30 14:54:40 PST
Created
attachment 177030
[details]
Patch
Hajime Morrita
Comment 12
2012-11-30 15:06:44 PST
Comment on
attachment 177030
[details]
Patch Looks good. Please wait until non-Chromium bots become green.
WebKit Review Bot
Comment 13
2012-12-02 03:17:27 PST
Comment on
attachment 177030
[details]
Patch Clearing flags on attachment: 177030 Committed
r136328
: <
http://trac.webkit.org/changeset/136328
>
WebKit Review Bot
Comment 14
2012-12-02 03:17:31 PST
All reviewed patches have been landed. Closing bug.
Ojan Vafai
Comment 15
2012-12-03 16:49:05 PST
I think this may have caused a ~12% improvement in dom_perf/CreateNodes. Hard to tell.
http://trac.webkit.org/changeset/136334
seems more likely.
http://build.chromium.org/f/chromium/perf/linux-release-webkit-latest/dom_perf/report.html?graph=CreateNodes&trace=score&rev=170979&history=150
Elliott Sprehn
Comment 16
2012-12-03 16:54:34 PST
(In reply to
comment #15
)
> I think this may have caused a ~12% improvement in dom_perf/CreateNodes. Hard to tell.
http://trac.webkit.org/changeset/136334
seems more likely. >
Hmm, that change is going to really skew our perf benchmarks that create nodes because they all run inside the 10 second window. They don't represent what goes on inside a real webapp which you keep open for a while.
Beth Dakin
Comment 17
2012-12-06 17:00:29 PST
I think that this change is causing this web page to assert:
http://www2.macleans.ca/2012/11/04/tarnished-silver-assessing-the-new-king-of-stats/
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.apple.WebCore 0x000000010f9b3094 WebCore::Node::rareData() const + 84 (Node.cpp:484) 1 com.apple.WebCore 0x000000010f9b302d WebCore::Node::setTreeScope(WebCore::TreeScope*) + 141 (Node.cpp:451) 2 com.apple.WebCore 0x000000011016d1d0 WebCore::TreeScopeAdopter::moveTreeToNewScope(WebCore::Node*) const + 288 (TreeScopeAdopter.cpp:53) 3 com.apple.WebCore 0x000000011016a668 WebCore::TreeScopeAdopter::execute() const + 24 (TreeScopeAdopter.h:38) 4 com.apple.WebCore 0x0000000110169a77 WebCore::TreeScope::adoptIfNeeded(WebCore::Node*) + 391 (TreeScope.cpp:269) 5 com.apple.WebCore 0x000000010ea09274 WebCore::Private::NodeRemovalDispatcher<WebCore::Node, WebCore::ContainerNode, true>::dispatch(WebCore::Node*, WebCore::ContainerNode*) + 68 (ContainerNodeAlgorithms.h:141) 6 com.apple.WebCore 0x000000010ea091eb void WebCore::Private::addChildNodesToDeletionQueue<WebCore::Node, WebCore::ContainerNode>(WebCore::Node*&, WebCore::Node*&, WebCore::ContainerNode*) + 331 (ContainerNodeAlgorithms.h:183) 7 com.apple.WebCore 0x000000010ea069c0 void WebCore::removeAllChildrenInContainer<WebCore::Node, WebCore::ContainerNode>(WebCore::ContainerNode*) + 48 (ContainerNodeAlgorithms.h:91) 8 com.apple.WebCore 0x000000010ea01ba5 WebCore::ContainerNode::removeAllChildren() + 21 (ContainerNode.cpp:94) 9 com.apple.WebCore 0x000000010f1cebe4 WebCore::InputType::destroyShadowSubtree() + 68 (InputType.cpp:492) 10 com.apple.WebCore 0x00000001101217df WebCore::TextFieldInputType::destroyShadowSubtree() + 31 (TextFieldInputType.cpp:308) etc. I will file a bug.
Beth Dakin
Comment 18
2012-12-06 17:06:29 PST
https://bugs.webkit.org/show_bug.cgi?id=104326
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug