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

colexec: remove BenchmarkLogicalProjOp as having too high variance #102513

Merged
merged 1 commit into from
May 5, 2023

Conversation

yuzefovich
Copy link
Member

Even after making the seed constant, this benchmark has too high of a variance, so it doesn't seem that useful (actually seems to have negative value since it can show up as a huge regression on unrelated changes like this one which only modified colexechash and colexecjoin packages).

Epic: None

Release note: None

Even after making the seed constant, this benchmark has too high of
a variance, so it doesn't seem that useful (actually seems to have
negative value since it can show up as a huge regression on unrelated
changes like this [one](https://gist.github.com/yuzefovich/0834cf0477abbd9b9ba0189970d15338)
which only modified `colexechash` and `colexecjoin` packages).

Epic: None

Release note: None
@yuzefovich yuzefovich added the backport-23.1.x Flags PRs that need to be backported to 23.1 label Apr 28, 2023
@yuzefovich yuzefovich requested review from mgartner and a team April 28, 2023 02:50
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@mgartner mgartner left a comment

Choose a reason for hiding this comment

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

:lgtm:

Is the high variance due to the fact that the projection is such a simple operation?

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

@yuzefovich
Copy link
Member Author

Is the high variance due to the fact that the projection is such a simple operation?

Yeah, that's my guess. Each operation takes on the order of a few microseconds, so it seems that it could be noticeably impacted just by code layout changes (due to unrelated changes). The absolute speed is so high that it seems to be not worth the effort to dig in further.

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented May 5, 2023

Build succeeded:

@craig craig bot merged commit 9189237 into cockroachdb:master May 5, 2023
@yuzefovich yuzefovich deleted the remove-logical-bench branch May 5, 2023 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.1.x Flags PRs that need to be backported to 23.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants