k6 icon indicating copy to clipboard operation
k6 copied to clipboard

refactor: use context.AfterFunc around VU management

Open mstoykov opened this issue 4 months ago • 0 comments

What?

Use context.AfterFunc

Why?

This cuts down on the amount of goroutines needed to be up for each VU.

Checklist

  • [ ] I have performed a self-review of my code.
  • [ ] I have added tests for my changes.
  • [ ] I have run linter locally (make lint) and all checks pass.
  • [ ] I have run tests locally (make tests) and all tests pass.
  • [ ] I have commented on my code, particularly in hard-to-understand areas.

Related PR(s)/Issue(s)

mstoykov avatar Oct 16 '24 13:10 mstoykov