-
Notifications
You must be signed in to change notification settings - Fork 706
feat(ss-bench): add random seed option and optimize algorithm #500
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
Conversation
| - `getrandom`: read N times in random order. May read a key/value many times. | ||
| - `getseq`: read N times sequentially. | ||
| - `prefixscanrandom`: prefix scan N times in random order. | ||
| - `deleterandom`: delete N keys in random order. May delete a key/value many times even it has been deleted before during this operation. If no valid key/values in the state store before this operation, randomly-generated keys would be deleted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
“If no valid key/values in the state store before this operation, randomly-generated keys would be deleted",
you mean this would be a no-op?
A bit confused about what it means.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. Let me do some re-words.
Codecov Report
@@ Coverage Diff @@
## main #500 +/- ##
============================================
- Coverage 72.76% 72.74% -0.03%
Complexity 2709 2709
============================================
Files 872 872
Lines 48699 48792 +93
Branches 1556 1556
============================================
+ Hits 35437 35492 +55
- Misses 12452 12490 +38
Partials 810 810
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
What's changed and what's your intention?
PLEASE DO NOT LEAVE THIS EMPTY !!!
Please explain IN DETAIL what the changes are in this PR and why they are needed:
Checklist
Refer to a related PR or issue link (optional)