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

Unified Diff: LayoutTests/perf/array-nested-loop.html

Issue 1149253002: Remove LayoutTests/perf and associated references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
Index: LayoutTests/perf/array-nested-loop.html
diff --git a/LayoutTests/perf/array-nested-loop.html b/LayoutTests/perf/array-nested-loop.html
deleted file mode 100644
index a171f08c55ff05a314c3b99723c98f160795ebe2..0000000000000000000000000000000000000000
--- a/LayoutTests/perf/array-nested-loop.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<script src="../resources/magnitude-perf.js"></script>
-<script>
-function setupFunction(magnitude)
-{
- array = [];
- for (var i = 0; i < magnitude; i++) {
- array[i] = i;
- }
-}
-
-function test(magnitude)
-{
- for (var i = 0; i < array.length; i++) {
- for (var j = 0; j < array.length; j++) {
- var foo = array[i] + array[j];
- }
- }
-}
-
-Magnitude.description("Tests that doing a nested loop over an array is quadratic.");
-// Quite noisy
-// lax settings ok as simply verifying "significantly superlinear"
-Magnitude.initialExponent = 9;
-Magnitude.numPoints = 3;
-Magnitude.numTrials = 8;
-Magnitude.successThreshold = 0.25; // 2 out of 8
-Magnitude.tolerance = 0.40;
-Magnitude.run(setupFunction, test, Magnitude.POLYNOMIAL);
-</script>
« no previous file with comments | « LayoutTests/perf/append-text-nodes-without-renderers-expected.txt ('k') | LayoutTests/perf/array-nested-loop-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698