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

test: benchmark the index merge performance #2334

Merged
merged 5 commits into from
May 15, 2024

Conversation

BubbleCal
Copy link
Contributor

@BubbleCal BubbleCal commented May 14, 2024

this is slow cause we now reconstruct the entire index after merging data.
for 512d 1M rows IVF_HNSW_SQ dataset:
merge 500 rows: 41.4195s
merge 5 batches (100 rows per batch): 42.3950s

for 512d 100K rows IVF_HNSW_SQ dataset:
merge 500 rows: 2.2307s
merge 5 batches (100 rows per batch): 2.2654s

for 512d 1M rows IVF_PQ dataset:
merge 500 rows: 174.4656ms
merge 5 batches (100 rows per batch): 178.6720ms

Signed-off-by: BubbleCal <bubble-cal@outlook.com>
Signed-off-by: BubbleCal <bubble-cal@outlook.com>
Signed-off-by: BubbleCal <bubble-cal@outlook.com>
Copy link

ACTION NEEDED

Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@BubbleCal BubbleCal changed the title bench: benchmark the index merge performance test: benchmark the index merge performance May 14, 2024
@github-actions github-actions bot added the chore label May 14, 2024
Signed-off-by: BubbleCal <bubble-cal@outlook.com>
Signed-off-by: BubbleCal <bubble-cal@outlook.com>
@BubbleCal BubbleCal merged commit b61850b into lancedb:main May 15, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants