Skip to content

Bug 2021696 - Use a fixed chunk size in the Perfherder data cycler#9533

Open
junngo wants to merge 1 commit into
mozilla:masterfrom
junngo:use-fixed-chunk-size
Open

Bug 2021696 - Use a fixed chunk size in the Perfherder data cycler#9533
junngo wants to merge 1 commit into
mozilla:masterfrom
junngo:use-fixed-chunk-size

Conversation

@junngo
Copy link
Copy Markdown
Contributor

@junngo junngo commented May 19, 2026

Remove unnecessary adaptive chunk size logic in Perfherder data cycler. The _find_ideal_chunk_size() methods in MainRemovalStrategy and IrrelevantDataRemoval were calculating a chunk size based on ID ranges, but this was redundant. The SQL already filters rows by push_timestamp and LIMIT handles partial results correctly.
Replaced with a fixed chunk size passed directly to the query.

Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=2021696

Copy link
Copy Markdown
Collaborator

@Archaeopteryx Archaeopteryx left a comment

Choose a reason for hiding this comment

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

Thank you.

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