MCPcopy 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
9func benchSub1(b *testing.B) {
10 for i := 0; i < b.N; i++ {
11 gotest.MakeSliceWithoutAlloc()
12 }
13}
14
15func benchSub2(b *testing.B) {
16 for i := 0; i < b.N; i++ {

Callers

nothing calls this directly

Calls 1

MakeSliceWithoutAllocFunction · 0.92

Tested by

no test coverage detected