diff options
author | Bartosz Sosnowski <bartosz@janeasystems.com> | 2017-03-09 22:01:45 +0100 |
---|---|---|
committer | Bartosz Sosnowski <bartosz@janeasystems.com> | 2017-03-09 22:01:45 +0100 |
commit | 6df23fa39f0400a6d5e60cc5bbf9e4d18987bb9b (patch) | |
tree | 032a686106ac7e08e66ebec43b01afc8d14c7cce /benchmark/crypto | |
parent | 5efb15e30af87db0953b056e6dc3b43245a1c24b (diff) | |
download | android-node-v8-6df23fa39f0400a6d5e60cc5bbf9e4d18987bb9b.tar.gz android-node-v8-6df23fa39f0400a6d5e60cc5bbf9e4d18987bb9b.tar.bz2 android-node-v8-6df23fa39f0400a6d5e60cc5bbf9e4d18987bb9b.zip |
benchmark: fix punycode and get-ciphers benchmark
Add missing 'i=0' from for-loops from punycode and get-ciphers
benchmarks.
PR-URL: https://github.com/nodejs/node/pull/11720
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'benchmark/crypto')
-rw-r--r-- | benchmark/crypto/get-ciphers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/crypto/get-ciphers.js b/benchmark/crypto/get-ciphers.js index f6b1767cb4..3f5ad17ad3 100644 --- a/benchmark/crypto/get-ciphers.js +++ b/benchmark/crypto/get-ciphers.js @@ -18,6 +18,6 @@ function main(conf) { method(); } bench.start(); - for (; i < n; i++) method(); + for (i = 0; i < n; i++) method(); bench.end(n); } |