Change optional Sleep to Rate in req/sec #24
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/xk6-frostfs#24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original issue: https://github.com/nspcc-dev/xk6-neofs/issues/15
We can reuse some xk6 code to manage sleep time in yaml script, see https://k6.io/docs/using-k6/k6-options/reference/#minimum-iteration-duration
@a.bogatyrev please add some details.
Actually, I would expect this to already work with
-e K6_MIN_ITERATION_DURATION=0.4s
(or 40ms), for example.Could you verify if this is true? @a.bogatyrev
Note, that it is not the same as our SLEEP, it should include operation duration itself too.
--min-iteration-duration
works as expected, iteration duration is extended to match with provided valueLet's remove
SLEEP*
env variable from the code and documentation then.--min-iteration-duration
doesn't allow us to have different durations for mixed scenarios.The distinction was introduced in
ea604ee8ee
-- @a.bogatyrev is it something we still use?