``` start := time.Now() for k := 0; k ...
# spicedb
l
Copy code
start := 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))