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

refactor: optimize sst filter build to consume less CPU #967

Merged
merged 4 commits into from
Jun 6, 2023
Merged

refactor: optimize sst filter build to consume less CPU #967

merged 4 commits into from
Jun 6, 2023

Conversation

zouxiang1993
Copy link
Contributor

@zouxiang1993 zouxiang1993 commented Jun 5, 2023

Rationale

When doing benchmark, xor filter build cost too much CPU.

Detailed Changes

  • Remove datum to_vec

Test Plan

@CLAassistant
Copy link

CLAassistant commented Jun 5, 2023

CLA assistant check
All committers have signed the CLA.

@jiacai2050 jiacai2050 changed the title Improve compact performance refactor: optimize sst filter build to consume less CPU Jun 5, 2023
common_types/src/datum.rs Outdated Show resolved Hide resolved
@jiacai2050 jiacai2050 mentioned this pull request Jun 6, 2023
Copy link
Contributor

@jiacai2050 jiacai2050 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jiacai2050 jiacai2050 merged commit 52b78ae into apache:main Jun 6, 2023
ShiKaiWi pushed a commit that referenced this pull request Jun 7, 2023
## Rationale
Related with #967, reduce CPU consumption.

## Detailed Changes
- CeresDB/xorfilter#1
- CeresDB/xorfilter#2

## Test Plan

@zouxiang1993 will benchmark this in his test env.
@zouxiang1993 zouxiang1993 deleted the improve-compact-performance branch June 7, 2023 03:33
dust1 pushed a commit to dust1/ceresdb that referenced this pull request Aug 9, 2023
## Rationale
Related with apache#967, reduce CPU consumption.

## Detailed Changes
- CeresDB/xorfilter#1
- CeresDB/xorfilter#2

## Test Plan

@zouxiang1993 will benchmark this in his test env.
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.

4 participants