-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
coldata,sql: remove some todos #53588
Conversation
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.
Reviewed 2 of 2 files at r1.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @yuzefovich)
pkg/col/coldata/batch.go, line 75 at r1 (raw file):
var _ Batch = &MemBatch{} // TODO(jordan): tune.
Add a comment about your benchmarks for future readers
This commit removes several TODOs that I have prototyped addressing and decided to abandon the prototypes, namely: - checking whether `coldata.BatchSize()` atomic has influence on performance (the benchmarks and TPCH queries showed that the impact is negligible if any) - tuning default batch size (I did that a while ago, and the best batch size according tpchvec/bench was 1280, barely better than current 1024 which is a lot nicer number) - pooling allocations of `execFactory` objects (this showed some improvement on one workload and a regression on another). Release justification: non-production code changes. Release note: None
ea6014b
to
34c79fc
Compare
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.
TFTR!
bors r+
Reviewable status: complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @asubiotto)
pkg/col/coldata/batch.go, line 75 at r1 (raw file):
Previously, asubiotto (Alfonso Subiotto Marqués) wrote…
Add a comment about your benchmarks for future readers
Done.
Build failed (retrying...): |
Build succeeded: |
This commit removes several TODOs that I have prototyped addressing and
decided to abandon the prototypes, namely:
coldata.BatchSize()
atomic has influence onperformance (the benchmarks and TPCH queries showed that the impact is
negligible if any)
batch size according tpchvec/bench was 1280, barely better than current
1024 which is a lot nicer number)
execFactory
objects (this showed someimprovement on one workload and a regression on another).
Release justification: non-production code changes.
Release note: None