Skip to content

Commit

Permalink
benchmark: update obsolete information pointer
Browse files Browse the repository at this point in the history
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: #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>
  • Loading branch information
Trott authored and MylesBorins committed Mar 28, 2017
1 parent 2462fd8 commit 2102504
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions benchmark/_http-benchmarkers.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,11 @@ 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];
Expand Down

0 comments on commit 2102504

Please sign in to comment.