| Index: LayoutTests/perf/show-hide-table-rows.html
|
| diff --git a/LayoutTests/perf/show-hide-table-rows.html b/LayoutTests/perf/show-hide-table-rows.html
|
| deleted file mode 100644
|
| index c0ece48b962f99430ba2221f3e40682d6a1ac244..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/perf/show-hide-table-rows.html
|
| +++ /dev/null
|
| @@ -1,41 +0,0 @@
|
| -<style>
|
| -.hidden { display: none; }
|
| -</style>
|
| -<script src="../resources/magnitude-perf.js"></script>
|
| -<body>
|
| -<div></div>
|
| -<script>
|
| -
|
| -function setupFunction(magnitude)
|
| -{
|
| - var html = '<table>';
|
| - for (var i = 0; i < magnitude; ++i)
|
| - html += '<tr><td>A</td><td>B</td><td>C</td><td>D</td><td>E</td><td>F</td></tr>\n';
|
| - html += '</table>';
|
| - document.querySelector('div').innerHTML = html;
|
| -}
|
| -
|
| -function forEachRow(what)
|
| -{
|
| - Array.prototype.forEach.call(document.querySelectorAll("tr"), what);
|
| -}
|
| -
|
| -function test(magnitude)
|
| -{
|
| - forEachRow(function(tr) {
|
| - tr.className = 'hidden';
|
| - });
|
| - document.body.offsetWidth;
|
| - forEachRow(function(tr) {
|
| - tr.className = '';
|
| - });
|
| - document.body.offsetWidth;
|
| -}
|
| -
|
| -Magnitude.description("Tests that hiding/showing of table rows is linear.");
|
| -Magnitude.initialExponent = 7;
|
| -Magnitude.numPoints = 6; // slow in absolute terms, so gets Slow around here
|
| -Magnitude.run(setupFunction, test, Magnitude.LINEAR);
|
| -document.querySelector('div').textContent = '';
|
| -</script>
|
| -</body>
|
|
|