Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/npm/cli
/ benchmark.js
File
benchmark.js
workspaces/arborist/scripts/benchmark.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
process.env.ARBORIST_DEBUG =
'0'
2
3
const
{ Suite } = require(
'benchmark'
)
4
const
{ relative, resolve } = require(
'node:path'
)
Callers
nothing calls this directly
Calls
6
resolve
Function · 0.85
replace
Method · 0.80
filter
Method · 0.80
usage
Function · 0.70
main
Function · 0.70
add
Method · 0.45
Tested by
no test coverage detected