liammoch
05/05/2022, 12:39 AMstart := time.Now()
for k := 0; k < reps; k++ {
for i := 0; i < len(devices); i++ {
for j := 0; j < len(apps); j++ {
if parallel {
go checkPerms(i, j)
} else {
checkPerms(i, j)
}
}
}
}
fmt.Println("Time for sending requests", time.Since(start))
wg.Wait()
fmt.Println("Time for", reps*len(devices)*len(apps), "checks is", time.Since(start))