Skip to content

different values for each key when random data is set - #20

Merged
ushachar merged 1 commit into
masterfrom
mutable_random_values
Mar 1, 2017
Merged

ushachar merged 1 commit into
masterfrom
mutable_random_values

Conversation

@yoav-steinberg

Copy link
Copy Markdown
Contributor

Useful in case we want to make sure the dataset content is constantly changing during the benchmark.
Doesn't impact performance because only a single byte is modified in the buffer per write. On the other hand data isn't really random (but still more random than before).

@ushachar ushachar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how valuable this is - randomizing a single byte in the value buffer doesn't really improve things....
I think that if we want this we should use a PRNG and really generate the full value each time (mutating the original buffer by feeding chunks as seeds to the PRNG)
Admittedly, this will slow things down (especially for larger buffers) - so maybe modify the flag to turn this on and off (no random vs one-time vs full randomization)

@yoav-steinberg

yoav-steinberg commented Mar 1, 2017 via email

Copy link
Copy Markdown
Contributor Author

@ushachar
ushachar merged commit 98b9d96 into master Mar 1, 2017
@yoav-steinberg
yoav-steinberg deleted the mutable_random_values branch April 9, 2017 08:33
fcostaoliveira added a commit that referenced this pull request Jun 2, 2026
…445)

The fuzzer excluded flags/inputs (--cluster-mode against standalone,
--authenticate empty, --wait-ratio, G:G degenerate, --data-size-list
zero-weight/zero-size, negative count flags) because they used to
crash or hang. The phase-1-3 parser fixes (#427/#428/#429/#430) plus
the connection-stage-timeout supervisor (#431) now bound all of
those. Removed the exclusions and wired the fuzzer into CI so it
runs nightly.

Also fix .githooks/pre-commit to work from linked worktrees: locate
the Makefile via git-common-dir and export GIT_INDEX_FILE so that
`git diff --cached` inside the Makefile rule sees the worktree-local
index rather than the main worktree's index.

Refs: 2.4 review #20 (Review 8 + Review 17).

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
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.

2 participants