summaryrefslogtreecommitdiff
path: root/benchmark/README.md
diff options
context:
space:
mode:
authorBartosz Sosnowski <bartosz@janeasystems.com>2017-03-01 12:52:10 +0100
committerBartosz Sosnowski <bartosz@janeasystems.com>2017-03-06 16:32:06 +0100
commit75cdc895ec8fd38b3a22535d9f90792c7c7be964 (patch)
treefe2e4531ff8f9217da72535fe234648aa14edc98 /benchmark/README.md
parentca86aa5323a36895a3aed917fc9a4a3509d3df9b (diff)
downloadandroid-node-v8-75cdc895ec8fd38b3a22535d9f90792c7c7be964.tar.gz
android-node-v8-75cdc895ec8fd38b3a22535d9f90792c7c7be964.tar.bz2
android-node-v8-75cdc895ec8fd38b3a22535d9f90792c7c7be964.zip
benchmark: cleanup after forced optimization drop
This removes all instances of %OptimizeFunctionOnNextCall from common.js and README.md PR-URL: https://github.com/nodejs/node/pull/9615 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'benchmark/README.md')
-rw-r--r--benchmark/README.md9
1 files changed, 0 insertions, 9 deletions
diff --git a/benchmark/README.md b/benchmark/README.md
index 6fd9a97bdf..17c733e6eb 100644
--- a/benchmark/README.md
+++ b/benchmark/README.md
@@ -235,12 +235,3 @@ it returns to accomplish what they need. This function reports timing
data to the parent process (usually created by running `compare.js`, `run.js` or
`scatter.js`).
-### v8ForceOptimization(method[, ...args])
-
-Force V8 to mark the `method` for optimization with the native function
-`%OptimizeFunctionOnNextCall()` and return the optimization status
-after that.
-
-It can be used to prevent the benchmark from getting disrupted by the optimizer
-kicking in halfway through. However, this could result in a less effective
-optimization. In general, only use it if you know what it actually does.