Skip to content

feat: Add encoding benchmark tool for Nimble column size evaluation (#759)#759

Closed
kewang1024 wants to merge 1 commit into
facebookincubator:mainfrom
kewang1024:export-D105891481
Closed

feat: Add encoding benchmark tool for Nimble column size evaluation (#759)#759
kewang1024 wants to merge 1 commit into
facebookincubator:mainfrom
kewang1024:export-D105891481

Conversation

@kewang1024
Copy link
Copy Markdown
Contributor

@kewang1024 kewang1024 commented May 21, 2026

Summary:

CLI tool to evaluate Nimble encoding sizes on real column data. Loads int64 values from CSV, encodes with each supported encoding+compression combination via EncodingFactory::encode(), and reports serialized sizes.

Supports forced encoding trees via ReplayedEncodingSelectionPolicy (e.g., Dict[Trivial{C}[FBW{C}]]) and auto-selection via ManualEncodingSelectionPolicy.

Usage: buck2 run fbcode//dwio/nimble/tools/encoding_bench:encoding_bench -- values.csv

Reviewed By: srsuryadev

Differential Revision: D105891481

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 21, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented May 21, 2026

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

@kewang1024 kewang1024 force-pushed the export-D105891481 branch from 6f77152 to e639630 Compare May 22, 2026 07:19
@meta-codesync meta-codesync Bot changed the title feat: Add encoding benchmark tool for Nimble column size evaluation feat: Add encoding benchmark tool for Nimble column size evaluation (#759) May 22, 2026
kewang1024 pushed a commit to kewang1024/nimble that referenced this pull request May 22, 2026
…acebookincubator#759)

Summary:

CLI tool to evaluate Nimble encoding sizes on real column data. Loads int64 values from CSV, encodes with each supported encoding+compression combination via `EncodingFactory::encode()`, and reports serialized sizes.

Supports forced encoding trees via `ReplayedEncodingSelectionPolicy` (e.g., `Dict[Trivial{C}[FBW{C}]]`) and auto-selection via `ManualEncodingSelectionPolicy`.

Usage: `buck2 run fbcode//dwio/nimble/tools/encoding_bench:encoding_bench -- values.csv`

Reviewed By: srsuryadev

Differential Revision: D105891481
@kewang1024 kewang1024 force-pushed the export-D105891481 branch from e639630 to 4b14ef6 Compare May 22, 2026 17:54
…acebookincubator#759)

Summary:

CLI tool to evaluate Nimble encoding sizes on real column data. Loads int64 values from CSV, encodes with each supported encoding+compression combination via `EncodingFactory::encode()`, and reports serialized sizes.

Supports forced encoding trees via `ReplayedEncodingSelectionPolicy` (e.g., `Dict[Trivial{C}[FBW{C}]]`) and auto-selection via `ManualEncodingSelectionPolicy`.

Usage: `buck2 run fbcode//dwio/nimble/tools/encoding_bench:encoding_bench -- values.csv`

Reviewed By: srsuryadev

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

meta-codesync Bot commented May 24, 2026

This pull request has been merged in 9ecae5a.

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 Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant