[Webkit-unassigned] [Bug 95376] Dromaeo jquery DOM modification tests run out of memory and crash in current WebKit

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 29 18:40:14 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=95376





--- Comment #9 from Boris Zbarsky <bzbarsky at mit.edu>  2012-08-29 18:40:20 PST ---
I don't see doubling going on here.  The same exact thing is being appended/prepended on each run:

  elemStr = "<strong>some text</strong>";

I just made local changes to the test to clear out the stuff it adds.  With those changes, and numTests=1, WebKit ends up with about 180000 nodes in the document (from the last set of append() calls, which I'm not bothering to clear out) and completes the test.  180000 is a good match for the 3600 runs/s it's scoring on the append() test, given there are 50 divs involved.  So that sounds like the full 5-test run would add/remove about a million nodes to the DOM.  I agree that seems ... excessive.

I wonder whether it would make sense to clear out the kids we added every so many iterations, just as part of the test...  That would certainly confound the measurement of the "append" or whatnot performance, such as it is, though.  Ideas?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list