code: func (d *DockerHelper) DoInspectContainerBenchmark(interval, testPeriod time.Duration, containerIDs []string) []int {
  	startTime := time.Now()
  	latencies := []int{}
  	rand.Seed(time.Now().Unix())
  	for {
  		containerID := containerIDs[rand.Int()%len(containerIDs)]
  		start := time.Now()
  		_, err := d.client.ContainerInspect(getContext(), containerID)
  		d.errStats.add("inspect container", err)
  		latencies = append(latencies, int(time.Since(start).Nanoseconds()))
  		if time.Now().Sub(startTime) >= testPeriod {
  			break
  		}
  		if interval != 0 {
  			time.Sleep(interval)
  		}
  	}
  	return latencies
  }
docs: // DoInspectContainerBenchmark does periodically InspectContainer with specific interval, returns latencies
  // of all the calls in nanoseconds