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 iterator and filter build to consume less CPU #975

Merged
merged 3 commits into from
Jun 7, 2023
Merged

refactor: optimize sst iterator and filter build to consume less CPU #975

merged 3 commits into from
Jun 7, 2023

Conversation

zouxiang1993
Copy link
Contributor

@zouxiang1993 zouxiang1993 commented Jun 7, 2023

Rationale

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

Detailed Changes

  • Change RowViewOnBatchColumnIter's item from Datum to DatumView

Test Plan

I will do benchmark in my test env.

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
Copy link
Contributor

Great job 👏

BTW, #965 will further reduce footprint in both mem and cpu for tag string column.

@jiacai2050 jiacai2050 merged commit 15177f0 into apache:main Jun 7, 2023
dust1 pushed a commit to dust1/ceresdb that referenced this pull request Aug 9, 2023
…pache#975)

## Rationale
When doing benchmark, sst iterator and xor filter build cost too much
CPU.

## Detailed Changes
- Change RowViewOnBatchColumnIter's item from Datum to DatumView

## Test Plan
I will do benchmark in my 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.

2 participants