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

Unified Diff: test/js-perf-test/Keys/run.js

Issue 1702613002: [js-perf-test] Adding micro benchmarks for for-in and keys patterns. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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
« test/js-perf-test/Keys/keys.js ('K') | « test/js-perf-test/Keys/keys.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/js-perf-test/Keys/run.js
diff --git a/test/js-perf-test/Object/run.js b/test/js-perf-test/Keys/run.js
similarity index 71%
copy from test/js-perf-test/Object/run.js
copy to test/js-perf-test/Keys/run.js
index 15c31ba08db6a5cd59c5ebc68498e9b024c2f91e..2e7f4de9a707593641d296227872a66bd6d49090 100644
--- a/test/js-perf-test/Object/run.js
+++ b/test/js-perf-test/Keys/run.js
@@ -2,25 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
load('../base.js');
-load('assign.js');
+load('keys.js');
var success = true;
function PrintResult(name, result) {
- print(name + '-Object(Score): ' + result);
+ print(name + '-Keys(Score): ' + result);
}
-
function PrintError(name, error) {
PrintResult(name, error);
success = false;
}
-
BenchmarkSuite.config.doWarmup = undefined;
BenchmarkSuite.config.doDeterministic = undefined;
-BenchmarkSuite.RunSuites({ NotifyResult: PrintResult,
- NotifyError: PrintError });
+BenchmarkSuite.RunSuites({NotifyResult: PrintResult, NotifyError: PrintError});
« test/js-perf-test/Keys/keys.js ('K') | « test/js-perf-test/Keys/keys.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698