Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement logical clock #6

Merged
merged 2 commits into from
Apr 14, 2024
Merged

feat: implement logical clock #6

merged 2 commits into from
Apr 14, 2024

Conversation

wfxr
Copy link
Owner

@wfxr wfxr commented Apr 13, 2024

Previously, the benchmark runner uses physical time to track the benchmark progress. This is not ideal because the physical time keeps moving forward even when the benchmark is paused. Also the throughput calculation is not accurate when there are pauses. This commit introduces a logical clock that can be paused and resumed to improve the pause functionality.

@wfxr wfxr force-pushed the logical-clock branch 4 times, most recently from af4d2a6 to ceeebdf Compare April 13, 2024 14:17
@wfxr wfxr added the enhancement New feature or request label Apr 13, 2024
Previously, the benchmark runner uses physical time to track the
benchmark progress. This is not ideal because the physical time keeps
moving forward even when the benchmark is paused. Also the throughput
calculation is not accurate when there are pauses. This commit introduces
a logical clock that can be paused and resumed to improve the pause
functionality.

Signed-off-by: Wenxuan Zhang <wenxuangm@gmail.com>
Signed-off-by: Wenxuan Zhang <wenxuangm@gmail.com>
@wfxr wfxr merged commit d90afd8 into main Apr 14, 2024
14 checks passed
@wfxr wfxr deleted the logical-clock branch April 14, 2024 03:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant