Bug 98281 - Add a performance test for subtree detaching
Summary: Add a performance test for subtree detaching
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Julien Chaffraix
URL:
Keywords:
Depends on:
Blocks: 92697
  Show dependency treegraph
 
Reported: 2012-10-03 10:48 PDT by Julien Chaffraix
Modified: 2012-10-03 16:28 PDT (History)
4 users (show)

See Also:


Attachments
Proposed test, welcome suggestions on how to better stress detaching. (2.24 KB, patch)
2012-10-03 11:01 PDT, Julien Chaffraix
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Chaffraix 2012-10-03 10:48:49 PDT
Currently we don't have a test stressing only detaching. When tested, it is usually done in combination with other phases such as layout without thinking about the interactions.

This is important as our current detaching algorithm is inefficient, leading to several traversal to the root as we generate multiple repaints. See bug 92697 for example where Eric came to the same conclusion.

I would like to change how we detach thus the need for some performance coverage.
Comment 1 Julien Chaffraix 2012-10-03 11:01:22 PDT
Created attachment 166923 [details]
Proposed test, welcome suggestions on how to better stress detaching.
Comment 2 Eric Seidel (no email) 2012-10-03 13:18:56 PDT
Comment on attachment 166923 [details]
Proposed test, welcome suggestions on how to better stress detaching.

SGTM.  Might make more sense to add this with your first perf fix though. :)
Comment 3 Julien Chaffraix 2012-10-03 16:22:06 PDT
Comment on attachment 166923 [details]
Proposed test, welcome suggestions on how to better stress detaching.

> SGTM.  Might make more sense to add this with your first perf fix though. :)

Thanks Eric, the idea is to see the improvements as we go. Also it increases our coverage regardless of whether we follow the optimizations to their end.
Comment 4 WebKit Review Bot 2012-10-03 16:28:38 PDT
Comment on attachment 166923 [details]
Proposed test, welcome suggestions on how to better stress detaching.

Clearing flags on attachment: 166923

Committed r130341: <http://trac.webkit.org/changeset/130341>
Comment 5 WebKit Review Bot 2012-10-03 16:28:41 PDT
All reviewed patches have been landed.  Closing bug.