Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/RainbowMango/GoExpertProgramming
/ benchSub1
Function
benchSub1
source/gotest/subbenchmark_test.go:9–13 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
7
)
8
9
func
benchSub1(b *testing.B) {
10
for
i := 0; i < b.N; i++ {
11
gotest.MakeSliceWithoutAlloc()
12
}
13
}
14
15
func
benchSub2(b *testing.B) {
16
for
i := 0; i < b.N; i++ {
Callers
nothing calls this directly
Calls
1
MakeSliceWithoutAlloc
Function · 0.92
Tested by
no test coverage detected