MCPcopy Index your code
hub / github.com/nodejs/node / run

Function run

benchmark/_test-double-benchmarker.js:40–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40function run() {
41 if (http.get) { // HTTP or HTTPS
42 if (options) {
43 http.get(url, options, request);
44 } else {
45 http.get(url, request);
46 }
47 } else { // HTTP/2
48 const client = http.connect(url);
49 client.on('error', () => {});
50 request(client.request(), client);
51 }
52}
53
54run();

Callers 2

requestFunction · 0.70

Calls 5

requestFunction · 0.70
getMethod · 0.65
connectMethod · 0.65
requestMethod · 0.65
onMethod · 0.45

Tested by

no test coverage detected