http://trac.webkit.org/browser/trunk/PerformanceTests/CSS/StyleSheetInsert.html's run function adds new nodes in each run but doesn't remove them. As a result, run gets slower on each call, resulting in values like: 22.0, 26.0, 27.0, 31.0, 33.0, 35.0, 37.0, 43.0, 44.0, 45.0 We need to remove the nodes added in each run so that values follow a normal distribution.
Created attachment 165897 [details] Results page illustrating the problem
Created attachment 165898 [details] Fixes the bug
Note that the results obtained after this patch is included in the first attachment. Notice the standard deviation went down from ~25% to ~8%.
I'm making results page warn time-dependent distributions in https://bugs.webkit.org/show_bug.cgi?id=97818 so that we can detect these problems easily.
This bug is beautifully visualized in https://bug-97818-attachments.webkit.org/attachment.cgi?id=166055.
Comment on attachment 165898 [details] Fixes the bug Clearing flags on attachment: 165898 Committed r129817: <http://trac.webkit.org/changeset/129817>
All reviewed patches have been landed. Closing bug.