Skip to content

perf(decode): Use reusable output for projection and decode#655

Open
srsuryadev wants to merge 1 commit intofacebookincubator:mainfrom
srsuryadev:export-D100113921
Open

perf(decode): Use reusable output for projection and decode#655
srsuryadev wants to merge 1 commit intofacebookincubator:mainfrom
srsuryadev:export-D100113921

Conversation

@srsuryadev
Copy link
Copy Markdown
Contributor

Summary:
New projection method that writes output into a reusable std::string,
avoiding IOBuf chain construction and per-row allocation overhead.
Uses memcpy with run-merging for the sorted fast path.

Update SstBenchmarkReader to use the new method in all collectSstValue
lambdas, eliminating IOBuf chain allocation and coalesce() in the
decode pipeline.

Differential Revision: D100113921

Summary:
New projection method that writes output into a reusable std::string,
avoiding IOBuf chain construction and per-row allocation overhead.
Uses memcpy with run-merging for the sorted fast path.

Update SstBenchmarkReader to use the new method in all collectSstValue
lambdas, eliminating IOBuf chain allocation and coalesce() in the
decode pipeline.

Differential Revision: D100113921
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Apr 9, 2026

@srsuryadev has exported this pull request. If you are a Meta employee, you can view the originating Diff in D100113921.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant