Skip to content

perf: avoid excessive timer calls#4739

Merged
mbutrovich merged 1 commit into
apache:mainfrom
wForget:scan-timer-optimize
Jun 26, 2026
Merged

perf: avoid excessive timer calls#4739
mbutrovich merged 1 commit into
apache:mainfrom
wForget:scan-timer-optimize

Conversation

@wForget

@wForget wForget commented Jun 26, 2026

Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes #4738.

Rationale for this change

Avoid excessive timer calls in ScanExec::get_next_batch

What changes are included in this PR?

Move timer into the if current_batch.is_none() {.

How are these changes tested?

before this:
image

after this:
image

@andygrove andygrove left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks @wForget

@mbutrovich mbutrovich merged commit a986e54 into apache:main Jun 26, 2026
116 of 118 checks passed
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.

perf: avoid excessive timer calls in ScanExec::get_next_batch

3 participants