Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cogentcore/core
/ BenchmarkNodeNewInstance
Function
BenchmarkNodeNewInstance
tree/node_test.go:524–529 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
522
}
523
524
func
BenchmarkNodeNewInstance(b *testing.B) {
525
n := NewNodeBase()
526
for
range
b.N {
527
n.NewInstance()
528
}
529
}
Callers
nothing calls this directly
Calls
2
NewInstance
Method · 0.95
NewNodeBase
Function · 0.70
Tested by
no test coverage detected