summaryrefslogtreecommitdiff
path: root/benchmark
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-03-24 12:42:50 -0700
committerFranziska Hinkelmann <franzih@chromium.org>2017-03-26 11:30:29 +0200
commit874b6b948c508bcf8f37f2bbda95cb5f14bbf425 (patch)
tree39a3c53e113ceed553a4c227ca1079eb77a41f9c /benchmark
parented12ea371c5352b4b13f9f1c4e0f577fbd30bb2a (diff)
downloadandroid-node-v8-874b6b948c508bcf8f37f2bbda95cb5f14bbf425.tar.gz
android-node-v8-874b6b948c508bcf8f37f2bbda95cb5f14bbf425.tar.bz2
android-node-v8-874b6b948c508bcf8f37f2bbda95cb5f14bbf425.zip
benchmark: update obsolete information pointer
A doc suggested in an error message is no longer the place to get the information about required http benchmarkers. Update the error message to point to the current location for the information. PR-URL: https://github.com/nodejs/node/pull/12026 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/_http-benchmarkers.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/_http-benchmarkers.js b/benchmark/_http-benchmarkers.js
index 235d5d0786..ad586f1cb6 100644
--- a/benchmark/_http-benchmarkers.js
+++ b/benchmark/_http-benchmarkers.js
@@ -88,9 +88,9 @@ exports.run = function(options, callback) {
benchmarker: exports.default_http_benchmarker
}, options);
if (!options.benchmarker) {
- callback(new Error('Could not locate any of the required http ' +
- 'benchmarkers. Check benchmark/README.md for further ' +
- 'instructions.'));
+ callback(new Error('Could not locate required http benchmarker. See ' +
+ 'https://github.com/nodejs/node/blob/master/doc/guides/writing-and-running-benchmarks.md##http-benchmark-requirements ' +
+ 'for further instructions.'));
return;
}
const benchmarker = benchmarkers[options.benchmarker];