Skip to content

Preliminary benchmarking framework #1463

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

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Conversation

kyteware
Copy link
Contributor

Which issue does this PR close?

What changes are included in this PR?

This PR adds a preliminary benchmarking framework and the first benchmark to iceberg-rs.

The main contribution is a new benchmarking crate with most of the benchmarking code. Included is the first benchmark, which tests the speed at which iceberg can project 2 columns from a table. Benchmarks are created with criterion.

A problem I ran into was making consistent latency accessing files from storage. To solve this problem, there is a new rustflag-gated storage_benchmarking that acts similarly to storage_memory but induces a much more consistent amount of latency compared to alternatives.

Are these changes tested?

Tests are not included, the code here is not included in production.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Benchmarking suite
1 participant