MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / BenchmarkNestedMap

Function BenchmarkNestedMap

options/options_test.go:358–366  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

356}
357
358func BenchmarkNestedMap(b *testing.B) {
359 o := testNestedOptions()
360
361 b.ResetTimer()
362
363 for b.Loop() {
364 _ = o.NestedMap()
365 }
366}
367
368func BenchmarkMap(b *testing.B) {
369 o := testNestedOptions()

Callers

nothing calls this directly

Calls 2

testNestedOptionsFunction · 0.85
NestedMapMethod · 0.80

Tested by

no test coverage detected