Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ main
Function
main
benchmark/async_hooks/async-local-storage-run.js:15–21 ·
view source on GitHub ↗
({ n })
Source
from the content-addressed store, hash-verified
13
}
14
15
function
main({ n }) {
16
const
store =
new
AsyncLocalStorage();
17
bench.start();
18
run(store, n).then(() => {
19
bench.end(n);
20
});
21
}
Callers
nothing calls this directly
Calls
4
run
Function · 0.70
start
Method · 0.45
then
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected