Skip to content

Fix too long first wait time for constant_pacing (and constant_throughput) - #2428

Merged
cyberw merged 1 commit into
masterfrom
fix-incorrect-first-wait-time-for-constant_pacing
Oct 19, 2023
Merged

Fix too long first wait time for constant_pacing (and constant_throughput)#2428
cyberw merged 1 commit into
masterfrom
fix-incorrect-first-wait-time-for-constant_pacing

Conversation

@cyberw

@cyberw cyberw commented Oct 19, 2023

Copy link
Copy Markdown
Collaborator

It incorrectly assumed the first iteration was instantaneous (because it had no way of knowing when the first iteration started), thus making the first sleep longer than it should be.

Fixes #2427

…umed the first iteration was instantaneous (because it had no way of knowing when the first iteration started)
@cyberw
cyberw merged commit 0d1c03a into master Oct 19, 2023
@cyberw
cyberw deleted the fix-incorrect-first-wait-time-for-constant_pacing branch October 19, 2023 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pacing and RPS trouble

1 participant