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

Unified Diff: test/mjsunit/regress/regress-2185-2.js

Issue 10830093: Speed up quicksort test to avoid timeouts on simulators. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-2185-2.js
===================================================================
--- test/mjsunit/regress/regress-2185-2.js (revision 12235)
+++ test/mjsunit/regress/regress-2185-2.js (working copy)
@@ -27,11 +27,11 @@
// These tests used to time out before this was fixed.
-var LEN = 3e4;
+var LEN = 2e4;
function short() {
var sum = 0;
- for (var i = 0; i < 10000; i++) {
+ for (var i = 0; i < 1000; i++) {
var a = [1, 4, 34, 23, 6, 123, 3, 2, 11, 515, 4, 33, 22, 2, 2, 1, 0, 123,
23, 42, 43, 1002, 44, 43, 101, 23, 55, 11, 101, 102, 45, 11, 404,
31415, 34, 53, 453, 45, 34, 5, 2, 35, 5, 345, 36, 45, 345, 3, 45,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698