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

Unified Diff: LayoutTests/perf/show-hide-table-rows.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, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/perf/object-keys-expected.txt ('k') | LayoutTests/perf/show-hide-table-rows-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « LayoutTests/perf/object-keys-expected.txt ('k') | LayoutTests/perf/show-hide-table-rows-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698