summaryrefslogtreecommitdiff
path: root/benchmark/es/restparams-bench.js
diff options
context:
space:
mode:
authorEthan Arrowood <ethan.arrowood@gmail.com>2017-10-06 09:59:28 -0700
committerJames M Snell <jasnell@gmail.com>2017-10-12 17:41:30 -0700
commitaf49e58211ea63d53900eb068eaa5f32ae1cf236 (patch)
tree67d7f704bcbf8e29f538231cf5440c68df499d78 /benchmark/es/restparams-bench.js
parentedebc902cf0191e02eb7d485d53cfd008a6d3336 (diff)
downloadandroid-node-v8-af49e58211ea63d53900eb068eaa5f32ae1cf236.tar.gz
android-node-v8-af49e58211ea63d53900eb068eaa5f32ae1cf236.tar.bz2
android-node-v8-af49e58211ea63d53900eb068eaa5f32ae1cf236.zip
test: add benchmark tests for es
Added parallel test benchmark for es PR-URL: https://github.com/nodejs/node/pull/16076 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'benchmark/es/restparams-bench.js')
-rw-r--r--benchmark/es/restparams-bench.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmark/es/restparams-bench.js b/benchmark/es/restparams-bench.js
index d893af48f4..32fa985ded 100644
--- a/benchmark/es/restparams-bench.js
+++ b/benchmark/es/restparams-bench.js
@@ -64,6 +64,8 @@ function main(conf) {
const n = +conf.millions * 1e6;
switch (conf.method) {
+ case '':
+ // Empty string falls through to next line as default, mostly for tests.
case 'copy':
runCopyArguments(n);
break;