Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheThingsNetwork/lorawan-stack
/ BenchmarkBytes
Function
BenchmarkBytes
pkg/random/random_test.go:38–42 ·
view source on GitHub ↗
(b *testing.B)
Source
from the content-addressed store, hash-verified
36
}
37
38
func
BenchmarkBytes(b *testing.B) {
39
for
i := 0; i < b.N; i++ {
40
Bytes(100)
41
}
42
}
43
44
func
BenchmarkIntn(b *testing.B) {
45
for
i := 0; i < b.N; i++ {
Callers
nothing calls this directly
Calls
1
Bytes
Function · 0.70
Tested by
no test coverage detected