| Index: LayoutTests/perf/htmlcollection-last-item.html
|
| diff --git a/LayoutTests/perf/htmlcollection-last-item.html b/LayoutTests/perf/htmlcollection-last-item.html
|
| deleted file mode 100644
|
| index 8e5f654367f4aef6b0ad8501c27101b6ed086aba..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/perf/htmlcollection-last-item.html
|
| +++ /dev/null
|
| @@ -1,31 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<body>
|
| -<div id="container" style="display: none;"></div>
|
| -<script src="../resources/magnitude-perf.js"></script>
|
| -<script>
|
| -
|
| -var container = document.getElementById('container');
|
| -
|
| -function setupFunction(magnitude)
|
| -{
|
| - container.innerHTML = '';
|
| - for (var i = 0; i < magnitude; i++)
|
| - container.appendChild(document.createElement('div'));
|
| -}
|
| -
|
| -function test(magnitude)
|
| -{
|
| - container.children[0].class = 'first item';
|
| - container.children[container.children.length - 1].class = 'last item';
|
| -}
|
| -
|
| -Magnitude.description("Tests that accessing the last item in children HTMLCollection is a constant time operation.");
|
| -Magnitude.numTrials = 5;
|
| -Magnitude.successThreshold = 0.40; // 2 out of 5
|
| -Magnitude.tolerance = 0.40;
|
| -Magnitude.trim = 2;
|
| -Magnitude.run(setupFunction, test, Magnitude.CONSTANT);
|
| -
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|