Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cornelk/go-benchmark
/ functions
Functions
79 in github.com/cornelk/go-benchmark
⨍
Functions
79
◇
Types & classes
7
↓ 8 callers
Function
newGrp
(N int64, valChanCnt int64, loopCnt int64)
goroutine_test.go:40
↓ 7 callers
Method
Sum64
()
hashing_test.go:44
↓ 7 callers
Function
benchmarkHash
(b *testing.B, hash func() T, length int64)
hashing_test.go:47
↓ 6 callers
Function
generateIntSlice
(b *testing.B)
helpers_test.go:13
↓ 4 callers
Function
checkItem
(b *testing.B, index, item int)
helpers_test.go:41
↓ 3 callers
Function
benchmarkHash64
(b *testing.B, hash func() T, length int64)
hashing_test.go:66
↓ 3 callers
Function
generateInterfaceSlice
(b *testing.B)
helpers_test.go:32
↓ 2 callers
Method
Sum
(b []byte)
hashing_test.go:30
↓ 2 callers
Method
Sum32
()
hashing_test.go:37
↓ 2 callers
Function
benchmarkHash32seed
(b *testing.B, hash func(uint32) T, length int64)
hashing_test.go:102
↓ 2 callers
Function
setup
()
parameter_test.go:41
↓ 1 callers
Function
benchmarkHash64seed
(b *testing.B, hash func(uint64) T, length int64)
hashing_test.go:84
↓ 1 callers
Function
benchmarkHash64to16
(b *testing.B, hash func() T, length int64)
hashing_test.go:136
↓ 1 callers
Function
benchmarkHash64to32
(b *testing.B, hash func() T, length int64)
hashing_test.go:115
↓ 1 callers
Function
benchmarkHash64to8
(b *testing.B, hash func() T, length int64)
hashing_test.go:155
↓ 1 callers
Function
benchmarkHashKey64
(b *testing.B, hash func([]byte) T, length int64)
hashing_test.go:189
↓ 1 callers
Function
benchmarkHashKey64Error
(b *testing.B, hash func([]byte) (T, error), length int64)
hashing_test.go:208
↓ 1 callers
Function
benchmarkHashKeyError
(b *testing.B, hash func([]byte) (T, error), length int64)
hashing_test.go:169
↓ 1 callers
Method
byPointer
(x int)
parameter_test.go:29
↓ 1 callers
Method
byValue
(x int)
parameter_test.go:14
↓ 1 callers
Function
calc
(n, cnt int64, vals []int64, wg *sync.WaitGroup)
goroutine_test.go:25
↓ 1 callers
Function
checkDefer
force both checks to not be inlined, otherwise the Go compiler would inline the checkItem call of the no-defer function, but currently the compiler ca
defer_test.go:11
↓ 1 callers
Function
checkDeferNo
go:noinline
defer_test.go:20
↓ 1 callers
Function
generateUnsafePointerSlice
(b *testing.B)
helpers_test.go:22
↓ 1 callers
Method
loop
()
goroutine_test.go:52
Function
BenchmarkAtomicInt32
(b *testing.B)
atomic_test.go:8
Function
BenchmarkAtomicInt64
(b *testing.B)
atomic_test.go:21
Function
BenchmarkAtomicUintptr
(b *testing.B)
atomic_test.go:34
Function
BenchmarkCast
(b *testing.B)
interface_test.go:55
Function
BenchmarkDefer
(b *testing.B)
defer_test.go:26
Function
BenchmarkDeferNo
(b *testing.B)
defer_test.go:36
Function
BenchmarkFillLinkedListPushBack
(b *testing.B)
slice_test.go:96
Function
BenchmarkFillLinkedListPushFront
(b *testing.B)
slice_test.go:105
Function
BenchmarkGoroutineChan10000Rte10000
(b *testing.B)
goroutine_test.go:150
Function
BenchmarkGoroutineChan10000RteCPU
(b *testing.B)
goroutine_test.go:111
Function
BenchmarkGoroutineChan100Rte100
(b *testing.B)
goroutine_test.go:137
Function
BenchmarkGoroutineChan100RteCPU
(b *testing.B)
goroutine_test.go:98
Function
BenchmarkGoroutineChan10Rte10
(b *testing.B)
goroutine_test.go:124
Function
BenchmarkGoroutineChan10RteCPU
(b *testing.B)
goroutine_test.go:72
Function
BenchmarkGoroutineChan1RteCPU
(b *testing.B)
goroutine_test.go:59
Function
BenchmarkGoroutineChanCPURteCPU
(b *testing.B)
goroutine_test.go:85
Function
BenchmarkGoroutineNew
BenchmarkGoroutineNew
goroutine_test.go:11
Function
BenchmarkHashing16XXHash
(b *testing.B)
hashing_test.go:310
Function
BenchmarkHashing32XXHash
(b *testing.B)
hashing_test.go:306
Function
BenchmarkHashing32XXHashpier
(b *testing.B)
hashing_test.go:302
Function
BenchmarkHashing32XXHashvova
(b *testing.B)
hashing_test.go:298
Function
BenchmarkHashing64Blake2B
(b *testing.B)
hashing_test.go:266
Function
BenchmarkHashing64Blake2BSimd
(b *testing.B)
hashing_test.go:270
Function
BenchmarkHashing64HighwayHash
(b *testing.B)
hashing_test.go:294
Function
BenchmarkHashing64MD5
(b *testing.B)
hashing_test.go:242
Function
BenchmarkHashing64Murmur3
(b *testing.B)
hashing_test.go:274
Function
BenchmarkHashing64Murmur3Twmb
(b *testing.B)
hashing_test.go:278
Function
BenchmarkHashing64RIPEMD160
(b *testing.B)
hashing_test.go:262
Function
BenchmarkHashing64SHA1
(b *testing.B)
hashing_test.go:246
Function
BenchmarkHashing64SHA256
(b *testing.B)
hashing_test.go:250
Function
BenchmarkHashing64SHA3B224
(b *testing.B)
hashing_test.go:254
Function
BenchmarkHashing64SHA3B256
(b *testing.B)
hashing_test.go:258
Function
BenchmarkHashing64SipHash
(b *testing.B)
hashing_test.go:282
Function
BenchmarkHashing64XXHash
(b *testing.B)
hashing_test.go:286
Function
BenchmarkHashing64XXHashpier
(b *testing.B)
hashing_test.go:290
Function
BenchmarkHashing8XXHash
(b *testing.B)
hashing_test.go:314
Function
BenchmarkParameterPassedByPointer
(b *testing.B)
parameter_test.go:59
Function
BenchmarkParameterPassedByValue
(b *testing.B)
parameter_test.go:72
Function
BenchmarkReflect
(b *testing.B)
interface_test.go:37
Function
BenchmarkSliceFillAppendNoMake
(b *testing.B)
slice_test.go:77
Function
BenchmarkSliceFillByIndex
(b *testing.B)
slice_test.go:50
Function
BenchmarkSliceFillByIndexMake
(b *testing.B)
slice_test.go:59
Function
BenchmarkSliceFillMakeAppend
(b *testing.B)
slice_test.go:68
Function
BenchmarkSliceFillSmallMakeAppend
(b *testing.B)
slice_test.go:87
Function
BenchmarkSliceReadBackwards
(b *testing.B)
slice_test.go:27
Function
BenchmarkSliceReadForward
(b *testing.B)
slice_test.go:17
Function
BenchmarkSliceReadLastItemFirst
(b *testing.B)
slice_test.go:37
Function
BenchmarkSliceReadRange
(b *testing.B)
slice_test.go:8
Function
BenchmarkSyncRWAtomic
(b *testing.B)
sync_test.go:43
Function
BenchmarkSyncRWAtomicGosched
(b *testing.B)
sync_test.go:64
Function
BenchmarkSyncRWMutex
(b *testing.B)
sync_test.go:27
Function
BenchmarkValueInterface
benchmark the use of interface{} to store data
interface_test.go:24
Function
BenchmarkValueUnsafePointer
benchmark the use of unsafe.Pointer to store data
interface_test.go:9
Function
benchmarkHashKey32
(b *testing.B, hash func([]byte) hash32, length int64)
hashing_test.go:227