func LoadTestThroughputFixed()

in tester/run/throughput.go [19:35]


func LoadTestThroughputFixed(r tester.ThroughputRunner, o interface{}, qs ...tester.QPS) error {
	t := r.Tester()
	if err := t.Before(o); err != nil {
		//nolint:wrapcheck
		return err
	}

	defer t.After(o)

	for _, qps := range qs {
		if err := loadTestThroughput(r, t, o, qps); err != nil {
			return err
		}
	}

	return nil
}