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

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

Issue 1746383003: [js-perf-test] add microbenchmarks for Object.values(), Object.entries() (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased 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
Index: test/js-perf-test/Lodash/run.js
diff --git a/test/js-perf-test/Classes/run.js b/test/js-perf-test/Lodash/run.js
similarity index 65%
copy from test/js-perf-test/Classes/run.js
copy to test/js-perf-test/Lodash/run.js
index 5d48b320a77cf24f240511798dd923fe9a57ac84..48a7d40b795b2f06190343f11ac00437c86001a5 100644
--- a/test/js-perf-test/Classes/run.js
+++ b/test/js-perf-test/Lodash/run.js
@@ -4,14 +4,19 @@
load('../base.js');
-load('super.js');
-load('default-constructor.js');
+// Provided for comparison against native implementations.
+// Generated via `lodash includes=values,toPairs`, using
+// https://www.npmjs.com/package/lodash-cli
+load('lodash.custom.js');
+
+load('values-lodash.js');
+load('entries-lodash.js');
var success = true;
function PrintResult(name, result) {
- print(name + '-Classes(Score): ' + result);
+ print(name + '-Lodash(Score): ' + result);
}

Powered by Google App Engine
This is Rietveld 408576698