Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ index.js
File
index.js
benchmark/napi/function_call/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// Show the difference between calling a short js function
2
// relative to a comparable C++ function.
3
// Reports n of calls per second.
4
// Note that JS speed goes up, while cxx speed stays about the same.
Callers
nothing calls this directly
Calls
5
js
Function · 0.70
require
Function · 0.50
assert
Function · 0.50
error
Method · 0.45
exit
Method · 0.45
Tested by
no test coverage detected