func benchmarkLoadState(b *testing.B, c *foosbot.Context) { b.ResetTimer() b.ReportAllocs() for i := 0; i < b.N; i++ { c.Reset() c.Load() } }