Updates:
        Cc: mbel...@chromium.org

Comment #3 on issue 32040 by jam...@chromium.org: Amount of HTML on a page seems to affect script load+parse time
http://code.google.com/p/chromium/issues/detail?id=32040

Most of the time is going into WebCore::HTMLNameCollection::itemAfter(), according to pprof. This is a linear walk through all elements in the DOM which is checking if
any match a given 'name' parameter.  It's invoked via;

http://trac.webkit.org/browser/trunk/WebCore/bindings/v8/custom/V8DOMWindowCustom.cpp
#L812

which is called through some intermediates by:

http://code.google.com/p/v8/source/browse/trunk/src/runtime.cc#689

whenever globals are set up. So basically, doing a linear walk and comparison on every DOM node for every single global variable in the script. Mike, Mads - what's
going on here?  This looks not good.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to