(b *testing.B)
| 14 | } |
| 15 | |
| 16 | func BenchmarkLogIDStr(b *testing.B) { |
| 17 | id := restic.NewRandomID() |
| 18 | |
| 19 | b.ResetTimer() |
| 20 | |
| 21 | for i := 0; i < b.N; i++ { |
| 22 | debug.Log("id: %v", id) |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | func BenchmarkLogIDString(b *testing.B) { |
| 27 | id := restic.NewRandomID() |
nothing calls this directly
no test coverage detected