Benchmark_GenerateKey() — fiber Function Reference
Architecture documentation for the Benchmark_GenerateKey() function in encryptcookie_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD 4626c940_eaa0_5abc_af69_2a0d4b68ba6d["Benchmark_GenerateKey()"] ac3bbef3_a1d3_d68b_64fb_619088dde10d["encryptcookie_test.go"] 4626c940_eaa0_5abc_af69_2a0d4b68ba6d -->|defined in| ac3bbef3_a1d3_d68b_64fb_619088dde10d style 4626c940_eaa0_5abc_af69_2a0d4b68ba6d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
middleware/encryptcookie/encryptcookie_test.go lines 765–781
func Benchmark_GenerateKey(b *testing.B) {
tests := []struct {
length int
}{
{length: 16},
{length: 24},
{length: 32},
}
for _, tt := range tests {
b.Run(strconv.Itoa(tt.length), func(b *testing.B) {
for b.Loop() {
GenerateKey(tt.length)
}
})
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does Benchmark_GenerateKey() do?
Benchmark_GenerateKey() is a function in the fiber codebase, defined in middleware/encryptcookie/encryptcookie_test.go.
Where is Benchmark_GenerateKey() defined?
Benchmark_GenerateKey() is defined in middleware/encryptcookie/encryptcookie_test.go at line 765.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free