(b *testing.B)
| 234 | } |
| 235 | |
| 236 | func BenchmarkRuntimeStore_SessionUpdate_1(b *testing.B) { |
| 237 | testStore := NewRuntimeStore(NewDefaultRuntimeConfig()) |
| 238 | for i := 0; i < b.N; i++ { |
| 239 | testStore.SessionUpdate(session_states[i%1000]) |
| 240 | } |
| 241 | b.ReportAllocs() |
| 242 | } |
| 243 | |
| 244 | func BenchmarkRuntimeStore_SessionUpdate_Parallel(b *testing.B) { |
| 245 | testStore := NewRuntimeStore(NewDefaultRuntimeConfig()) |
nothing calls this directly
no test coverage detected