Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
19
function
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
setHeader
Method · 0.80
start
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…