Changeset 137990 in webkit
- Timestamp:
- Dec 17, 2012, 11:28:52 PM (13 years ago)
- Location:
- trunk/PerformanceTests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/PerformanceTests/ChangeLog
r137623 r137990 1 2012-12-17 Shinya Kawanaka <shinyak@chromium.org> 2 3 [Shadow] LargeDistributionWithLayout.html should be updated 4 https://bugs.webkit.org/show_bug.cgi?id=105242 5 6 Reviewed by Ryosuke Niwa. 7 8 Since this test was written when distribution took O(N^2). However, now it's almost O(N), so this test finishes 9 in very short time. We should convert it unit to runs/s. 10 11 This test contains a some error to cause test failure, e.g. using obsolete API, so they also should be fixed. 12 13 * ShadowDOM/LargeDistributionWithLayout.html: 14 1 15 2012-12-13 Ryosuke Niwa <rniwa@webkit.org> 2 16 -
trunk/PerformanceTests/ShadowDOM/LargeDistributionWithLayout.html
r136805 r137990 24 24 } 25 25 26 varcontent = document.createElement('content');27 var shadowRoot = new WebKitShadowRoot(host);26 window.content = document.createElement('content'); 27 var shadowRoot = host.webkitCreateShadowRoot(); 28 28 shadowRoot.appendChild(content); 29 29 } … … 32 32 { 33 33 var host = document.getElementById('host'); 34 var content = window.content; 34 35 var nLoops = window.nLoops; 35 36 … … 47 48 } 48 49 49 50 50 setup(); 51 51 52 PerfTestRunner.measure Time({52 PerfTestRunner.measureRunsPerSecond({ 53 53 description: "Measure Distribution and Layout time (with a lot of host children)", 54 54 run: run,
Note:
See TracChangeset
for help on using the changeset viewer.