Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: LayoutTests/perf/htmlcollection-backwards-iteration.html

Issue 51383002: Delete perf tests that are WontFixed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: try again Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <body>
3 <div id="container" style="display: none;"></div>
4 <script src="../resources/magnitude-perf.js"></script>
5 <script>
6
7 var container = document.getElementById('container');
8
9 function setupFunction(magnitude)
10 {
11 container.innerHTML = '';
12 for (var i = 0; i < magnitude; i++)
13 container.appendChild(document.createElement('div'));
14 }
15
16 function test(magnitude)
17 {
18 var children = container.children;
19 for (var i = children.length; i > 0;i--)
20 children[i - 1].class = 'hi';
21 }
22
23 Magnitude.description("Tests that iterating over HTMLCollection backwards is lin ear.");
24 Magnitude.initialExponent = 9;
25 Magnitude.numPoints = 6;
26 Magnitude.numTrials = 5;
27 Magnitude.successThreshold = 0.20; // 2 out of 5
28 Magnitude.tolerance = 0.30;
29 Magnitude.trim = 1;
30 Magnitude.run(setupFunction, test, Magnitude.LINEAR);
31 </script>
32 </body>
33 </html>
OLDNEW
« no previous file with comments | « LayoutTests/perf/document-contains-expected.txt ('k') | LayoutTests/perf/htmlcollection-backwards-iteration-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698