summaryrefslogtreecommitdiff
path: root/benchmark/url
diff options
context:
space:
mode:
authorLucas Lago <lucasbenderlago@gmail.com>2017-03-17 17:58:53 -0300
committerMichaël Zasso <targos@protonmail.com>2017-03-21 10:11:36 +0100
commit3129ba2bae718b4b92d69ba55e64c136eccbb7a0 (patch)
treeadd5dc173020711bc69ad425f75b80c75efe9254 /benchmark/url
parent5a71cb6d32c2e2b12cc5db9b7533fe42aba50c46 (diff)
downloadnode-new-3129ba2bae718b4b92d69ba55e64c136eccbb7a0.tar.gz
benchmark: remove v8ForceOptimization calls
This removes common.v8ForceOptimization calls from url and vm benchmark files. PR-URL: https://github.com/nodejs/node/pull/11908 Fixes: https://github.com/nodejs/node/issues/11895 Reviewed-By: Timothy Gu <timothygu99@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
Diffstat (limited to 'benchmark/url')
-rw-r--r--benchmark/url/whatwg-url-idna.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/benchmark/url/whatwg-url-idna.js b/benchmark/url/whatwg-url-idna.js
index 41b4c639de..3d0ea3dc8f 100644
--- a/benchmark/url/whatwg-url-idna.js
+++ b/benchmark/url/whatwg-url-idna.js
@@ -37,8 +37,6 @@ function main(conf) {
const input = inputs[conf.input][to];
const method = to === 'ascii' ? domainToASCII : domainToUnicode;
- common.v8ForceOptimization(method, input);
-
bench.start();
for (var i = 0; i < n; i++) {
method(input);