Verifies: SYS-REQ-015 [example] MCDC SYS-REQ-015: N/A
(b *testing.B)
| 123 | // Verifies: SYS-REQ-015 [example] |
| 124 | // MCDC SYS-REQ-015: N/A |
| 125 | func BenchmarkParseInt(b *testing.B) { |
| 126 | bytes := []byte("123") |
| 127 | for i := 0; i < b.N; i++ { |
| 128 | parseInt(bytes) |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | // Alternative implementation using unsafe and delegating to strconv.ParseInt |
| 133 | // Verifies: SYS-REQ-015 [example] |
nothing calls this directly
no test coverage detected