Skip to content

Commit

Permalink
Avoid cloning tags on each iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Mirić committed Dec 15, 2020
1 parent efbfce4 commit 9697bab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/executor/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func getIterationRunner(
return func(ctx context.Context, vu lib.ActiveVU) bool {
err := vu.RunOnce()
state := vu.GetState()
tags := state.CloneTags()
tags := make(map[string]string, 1)

// TODO: track (non-ramp-down) errors from script iterations as a metric,
// and have a default threshold that will abort the script when the error
Expand Down

0 comments on commit 9697bab

Please sign in to comment.