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

Unified Diff: test/js-perf-test/JSTests.json

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
« no previous file with comments | « no previous file | test/js-perf-test/Keys/keys.js » ('j') | test/js-perf-test/Keys/keys.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/js-perf-test/JSTests.json
diff --git a/test/js-perf-test/JSTests.json b/test/js-perf-test/JSTests.json
index 31049d143fb3508495c6d6751f884c227cfdf921..6deba524ee45b54713dec20ab540640ea32cc91b 100644
--- a/test/js-perf-test/JSTests.json
+++ b/test/js-perf-test/JSTests.json
@@ -135,6 +135,22 @@
"tests": [
{"name": "Try-Catch"}
]
+ },
+ {
+ "name": "Keys",
+ "path": ["Keys"],
+ "main": "run.js",
+ "resources": ["keys.js"],
+ "results_regexp": "^%s\\-Keys\\(Score\\): (.+)$",
+ "tests": [
+ {"name": "Object.keys()"},
+ {"name": "for (in)"},
+ {"name": "for (in) hasOwnProperty()"},
+ {"name": "for Object.keys()"},
+ {"name": "Object.keys().forEach()"},
+ {"name": "for (i < array.length)"},
+ {"name": "for (i < length)"}
+ ]
}
]
}
« no previous file with comments | « no previous file | test/js-perf-test/Keys/keys.js » ('j') | test/js-perf-test/Keys/keys.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698