-
-
Notifications
You must be signed in to change notification settings - Fork 379
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
read in arguments for benchmark tool #55
Comments
Thanks for the writeup @spacejam 👍 Jumped into this today. Here are just some quick questions / notes from my side which came up during the implementation. I decided to use the clap crate which is quite popular for such use-cases to implement the CLI application. Any objections with that choice? Is it maybe too bloated? Here are some other crates we could consider. However so far I'm pretty happy with Could you get into more detail regarding the options we want to use here?
Here's what I came up with so far:
Thanks in advance! |
|
for number of cpu cores, I already included the |
@spacejam could you please get into more detail about the following comments?
Could you maybe provide an example CLI input with the
Does this mean that the key we use should be exactly 64 byte long and the value always 512 bytes? Thanks in advance! |
@pmuens no need for percentages, we can just sum all of the proportions together, use that as a max number to feed a random number generator, (in your example, 80 is the max). Say it spits back 22. We see get is 10, which is less than 22, so we chop off 10 then go to the next. set is 20, and now we're at 12, so we decide that this operation will be a set. yeah, exactly 64 / 512 |
@spacejam just one quick question regarding this:
Unfortunately I'm stuck understanding the random number generation usage here. Could you provide a quick example how the proportions for a set of given Tree operations would be calculated using this? Thanks in advance! 👍 |
so, if any of the tree op types are provided, the defaults for all of the others should become 0.
for each iteration of each thread that is running commands:
|
Thanks for the explanation and the code-snippet @spacejam 👍 |
the benchmark tool should accept arguments for these parameters:
The text was updated successfully, but these errors were encountered: