Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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 <[email protected]>
Signed-off-by: Wenxuan Zhang <[email protected]>
@wfxr wfxr merged commit d90afd8 into main Apr 14, 2024
@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.

2 participants