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

Function main

benchmark/http/set_header.js:19–27  ·  view source on GitHub ↗
({ n, value })

Source from the content-addressed store, hash-verified

17});
18
19function main({ n, value }) {
20 const og = new OutgoingMessage();
21
22 bench.start();
23 for (let i = 0; i < n; i++) {
24 og.setHeader(value, '');
25 }
26 bench.end(n);
27}

Callers

nothing calls this directly

Calls 3

setHeaderMethod · 0.80
startMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…