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

[Gluten-1.2] Port #10646 to Branch-1.2 for Put cheap check first in testingTriggerSpill() (#10646) #494

Merged
merged 1 commit into from
Aug 20, 2024

Conversation

weiting-chen
Copy link
Collaborator

Summary:
testingTriggerSpill() uses 1% cpu in meta internal profiling on release build. This is due to the expensive regex check it does upon entrance of this method. Move pct check up to avoid regex check to reduce the cpu consumption.

Pull Request resolved: facebookincubator#10646

Reviewed By: kevinwilfong

Differential Revision: D60613614

Pulled By: tanjialiang

fbshipit-source-id: 23cbfc89b575343b7e7da1dd7d0eaef63a1ec705

@weiting-chen weiting-chen changed the title [1.2] Port #10646 to Branch-1.2 for Put cheap check first in testingTriggerSpill() (#10646) [Gluten-1.2] Port #10646 to Branch-1.2 for Put cheap check first in testingTriggerSpill() (#10646) Aug 18, 2024
Summary:
testingTriggerSpill() uses 1% cpu in meta internal profiling on release build. This is due to the expensive regex check it does upon entrance of this method. Move pct check up to avoid regex check to reduce the cpu consumption.

Pull Request resolved: facebookincubator#10646

Reviewed By: kevinwilfong

Differential Revision: D60613614

Pulled By: tanjialiang

fbshipit-source-id: 23cbfc89b575343b7e7da1dd7d0eaef63a1ec705
@weiting-chen weiting-chen merged commit 88856e6 into oap-project:branch-1.2 Aug 20, 2024
18 of 22 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.

2 participants