(t *testing.B)
| 749 | } |
| 750 | |
| 751 | func BenchmarkRegistrySetTop(t *testing.B) { |
| 752 | al := newAllocator(32) |
| 753 | sz := 256 * 20 |
| 754 | reg := newRegistry(registryTestHandler(0), sz, 32, sz*2, al) |
| 755 | |
| 756 | t.ResetTimer() |
| 757 | |
| 758 | for j := 0; j < t.N; j++ { |
| 759 | reg.SetTop(sz) |
| 760 | reg.SetTop(0) |
| 761 | } |
| 762 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…