Skip to content

Commit 874b6b9

Browse files
Trottfhinkel
authored andcommitted
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: #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>
1 parent ed12ea3 commit 874b6b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

benchmark/_http-benchmarkers.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ exports.run = function(options, callback) {
8888
benchmarker: exports.default_http_benchmarker
8989
}, options);
9090
if (!options.benchmarker) {
91-
callback(new Error('Could not locate any of the required http ' +
92-
'benchmarkers. Check benchmark/README.md for further ' +
93-
'instructions.'));
91+
callback(new Error('Could not locate required http benchmarker. See ' +
92+
'https://github.com/nodejs/node/blob/master/doc/guides/writing-and-running-benchmarks.md##http-benchmark-requirements ' +
93+
'for further instructions.'));
9494
return;
9595
}
9696
const benchmarker = benchmarkers[options.benchmarker];

0 commit comments

Comments
 (0)