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/mjsunit/compiler/osr-with-args.js

Issue 85473004: Make some ARM test cases faster. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 | « src/arm/simulator-arm.h ('k') | test/mjsunit/regress/regress-2790.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/compiler/osr-with-args.js
diff --git a/test/mjsunit/compiler/osr-with-args.js b/test/mjsunit/compiler/osr-with-args.js
index 44fa1cb2cf9d0a1fcf3689b03fc01cc4e9f4eafc..4817ad7d4449001b7591dbd0c5adbcedc04b62e3 100644
--- a/test/mjsunit/compiler/osr-with-args.js
+++ b/test/mjsunit/compiler/osr-with-args.js
@@ -29,7 +29,7 @@
function f() {
var sum = 0;
- for (var i = 0; i < 1000000; i++) {
+ for (var i = 0; i < 100000; i++) {
var t = arguments[0] + 2;
var x = arguments[1] + 2;
var y = t + x + 5;
@@ -39,6 +39,6 @@ function f() {
return sum;
}
-for (var i = 0; i < 4; i++) {
- assertEquals(17000000, f(2, 3));
+for (var i = 0; i < 3; i++) {
+ assertEquals(1700000, f(2, 3));
}
« no previous file with comments | « src/arm/simulator-arm.h ('k') | test/mjsunit/regress/regress-2790.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698