Skip to content

Commit 2102504

Browse files
TrottMylesBorins
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 <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
1 parent 2462fd8 commit 2102504

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

benchmark/_http-benchmarkers.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ 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/' +
93+
'guides/writing-and-running-benchmarks.md##http-' +
94+
'benchmark-requirements ' +
95+
'for further instructions.'));
9496
return;
9597
}
9698
const benchmarker = benchmarkers[options.benchmarker];

0 commit comments

Comments
 (0)