Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TanStack/router
/ byId
Function
byId
scripts/benchmarks/bundle-size/diff.mjs:28–30 ·
view source on GitHub ↗
(current)
Source
from the content-addressed store, hash-verified
26
}
27
28
function
byId(current) {
29
return
new
Map((current.metrics || []).map((metric) => [metric.id, metric]))
30
}
31
32
const
baselineById = byId(readCurrent(values.baseline))
33
const
currentById = byId(readCurrent(values.current))
Callers
1
diff.mjs
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected