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

Unified Diff: test/webkit/fast/js/excessive-comma-usage.js

Issue 1257583005: [test] Shorten excessive webkit test. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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: test/webkit/fast/js/excessive-comma-usage.js
diff --git a/test/webkit/fast/js/excessive-comma-usage.js b/test/webkit/fast/js/excessive-comma-usage.js
index d30ff6d0f88a0d8112384def59f68946a35cf57f..414b29b7ef4d82c948b5b39dd9f7db2a9c578a44 100644
--- a/test/webkit/fast/js/excessive-comma-usage.js
+++ b/test/webkit/fast/js/excessive-comma-usage.js
@@ -24,17 +24,17 @@
description("Test that we can handle excessively large initializer lists");
var initializerTestString = "var a=0";
-for (var i = 0; i < 50000; i++)
+for (var i = 0; i < 5000; i++)
initializerTestString += ",a"+i+"="+i;
initializerTestString += ";return true;";
var declarationTestString = "var a";
-for (var i = 0; i < 50000; i++)
+for (var i = 0; i < 5000; i++)
declarationTestString += ",a"+i;
declarationTestString += ";return true;";
var commaExpressionTestString = "1";
-for (var i = 0; i < 50000; i++)
+for (var i = 0; i < 5000; i++)
commaExpressionTestString += ",1";
commaExpressionTestString += ";return true;";

Powered by Google App Engine
This is Rietveld 408576698