(t *testing.B)
| 692 | } |
| 693 | |
| 694 | func BenchmarkCallFrameStackUnwindFixedNoInterface(t *testing.B) { |
| 695 | stack := newFixedCallFrameStack(256).(*fixedCallFrameStack) |
| 696 | |
| 697 | t.ResetTimer() |
| 698 | |
| 699 | const Iterations = 256 |
| 700 | for j := 0; j < t.N; j++ { |
| 701 | for i := 0; i < Iterations; i++ { |
| 702 | stack.Push(callFrame{}) |
| 703 | } |
| 704 | stack.SetSp(0) |
| 705 | } |
| 706 | } |
| 707 | |
| 708 | type registryTestHandler int |
| 709 |
nothing calls this directly
no test coverage detected
searching dependent graphs…