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

storage: improve BenchmarkUpdateSSTTimestamps #89166

Merged
merged 1 commit into from Oct 3, 2022

Conversation

erikgrinaker
Copy link
Contributor

@erikgrinaker erikgrinaker commented Oct 3, 2022

This patch improves BenchmarkUpdateSSTTimestamps, by running separate benchmarks varying the number of keys and concurrency. In particular, this exercises the sstable.RewriteKeySuffixes fast path, while the old benchmark only used the naïve read/write slow path.

Touches #88723.

Release note: None

This patch improves `BenchmarkUpdateSSTTimestamps`, by running separate
benchmarks varying the number of keys and concurrency. In particular,
this exercises the `sstable.RewriteKeySuffixes` fast path, while the old
benchmark only used the naïve read/write slow path.

Release note: None
@erikgrinaker erikgrinaker requested a review from a team October 3, 2022 11:05
@erikgrinaker erikgrinaker requested a review from a team as a code owner October 3, 2022 11:05
@erikgrinaker erikgrinaker self-assigned this Oct 3, 2022
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@erikgrinaker erikgrinaker added the backport-22.2.x Flags PRs that need to be backported to 22.2. label Oct 3, 2022
Copy link
Collaborator

@nicktrav nicktrav left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @erikgrinaker)

@erikgrinaker
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Oct 3, 2022

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented Oct 3, 2022

Build succeeded:

@craig craig bot merged commit 73f8ee6 into cockroachdb:master Oct 3, 2022
@erikgrinaker erikgrinaker deleted the bench-update-sst-timestamps branch October 30, 2022 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-22.2.x Flags PRs that need to be backported to 22.2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants