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

Increase unwind information batch size #148

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

javierhonduco
Copy link
Owner

The current default might be a bit too conservative on the low side. CPU profiles show quite a bit of time spent calling update_batch which should be reduced by increasing the batch size. I considered batches as large as the whole unwind information but these can get quite large in the biggest unwind information buckets, so choosing something between 500k entries or the unwind information length, whichever is smaller.

Test Plan

ci

Verified

This commit was signed with the committer’s verified signature.
franm91 Franm
The current default might be a bit too conservative on the low side.
CPU profiles show quite a bit of time spent calling `update_batch` which
should be reduced by increasing the batch size. I considered batches as
large as the whole unwind information but these can get quite large in
the biggest unwind information buckets, so choosing something between
500k entries or the unwind information length, whichever is smaller.

Test Plan
=========

ci
@javierhonduco javierhonduco force-pushed the increase-unwind-info-batch-size branch from 9d7533b to 24fc20c Compare January 30, 2025 22:42
@javierhonduco javierhonduco changed the title Increas unwind information batch size Increase unwind information batch size Jan 30, 2025
@javierhonduco javierhonduco merged commit 7807241 into main Jan 30, 2025
5 checks passed
@javierhonduco javierhonduco deleted the increase-unwind-info-batch-size branch January 30, 2025 22:43
@javierhonduco javierhonduco mentioned this pull request Jan 31, 2025
16 tasks
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.

None yet

1 participant